Solution: Valid Anagram
Solution: Valid Anagram asks whether one given string is an anagram of another, meaning both contain exactly the same characters with the same frequencies, regardless of order.
Statement
Given two strings, str1 and str2, check whether str2 is an anagram of str1.
An anagram is a word or phrase created by rearranging the letters of another word or phrase while utilizing each of the original letters exactly once.
Constraints:
-
...