Valid Anagram Solution - LeetCode 242
Intuition
After seeing the problem statement, I thought of the best one HashMap :)To store the frequency of one string and compare that with another string's frequency. However, we can also minimize the extra computation of importing and implementing...
5p7ro0t.hashnode.dev2 min read