An anagram of a string is another string with the same characters in the same frequency,in any order.
Answers
Answered by
4
Answer:
hii I think that it helps you
Explanation:
Anagram means that both strings contain the same character set, only their order is different. Therefore, in both strings, the frequency of each letter must be the same. For example, strings "act" and "cat" are anagrams.
Similar questions