Write a function to check whether two strings are anagram of each other.
Two strings are anagram of each other when they have same set of characters, but in different order. Let us assume that the input strings have the character set ASCII. The algorithm works as :
Time complexity = \( O(n) \). public static boolean checkTwoStringsAnagram(String string1, String string2){ |