LeetCode Solutions/Problems/242. Valid Anagram.java
<reponame>DevashishPathrabe/LeetCodeclass Solution {
    public boolean isAnagram(String s, String t) {
        char sArray[] = s.toCharArray();
        Arrays.sort(sArray);
        char tArray[] = t.toCharArray();
        Arrays.sort(tArray);
        return (Arrays.equals(sArray, tArray));
    }
}