diff --git a/AayushRawat.java b/AayushRawat.java new file mode 100644 index 0000000..7e670cf --- /dev/null +++ b/AayushRawat.java @@ -0,0 +1,31 @@ +import java.util.ArrayList; +import java.util.Collections; +import java.util.Scanner; +public class Solution { + + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + String text = sc.nextLine(); + int q = sc.nextInt(); + ArrayList res = new ArrayList<>(); + sc.nextLine(); + while(q-- > 0) { + String pat = sc.nextLine(); + for(int i=0; i