hash tables to store frequencies of each character
int [ ] freq1 = new int [ SIZE ] ; int [ ] freq2 = new int [ SIZE ] ; char [ ] str1 = str . ToCharArray ( ) ; char [ ] str2 = str3 . ToCharArray ( ) ; int n1 = str . Length ; int n2 = str3 . Length ;