import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static int freq[][]; static void initialize(String s) { // This function is called once before all queries. int l=s.length(); freq=new int[26][s.length()]; for(int i=0;i<26;i++) { for(int j=0;j