Checks if two strings are anagrams of each other.
An anagram is a word or phrase formed by rearranging the letters of a different word or phrase,
typically using all the original letters exactly once.
Parameters
str1: string
The first string.
str2: string
The second string.
Returns boolean
Returns true if the two strings are anagrams of each other, false otherwise.
Checks if two strings are anagrams of each other. An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.