Write a method to check if two strings are anagrams or not.
Example 1:Input: one = Sookshmas, two = Sookshmas
                    Output: true
Example 2:Input: one = bar, two = car
                     Output: false

Posted on by