Function to find the number of str2 that can be formed using characters of str1
static int findNumberOfTimes ( String str1 , String str2 ) { int [ ] freq = new int [ 26 ] ; int l1 = str1 . Length ; int [ ] freq2 = new int [ 26 ] ; int l2 = str2 . Length ;