[07 Feb 2020] Check whether two strings are anagram of each other
Check whether two strings are anagram of each other
Write a function to check whether two given strings are anagram of each other or not. An anagram of a string is another string that contains same characters, only the order of characters can be different. For example, “abcd” and “dabc” are anagram of each other.

Time Complexity: O(n)
Comments
Post a Comment