Java Anagrams

  • + 1 comment

    He converted the string into UpperCase and then in the loop he is subtracting the ASCII value of the character at ith position with A to get the difference which will be less than 26.