Use a hash map to compare the letters and their frequencies
6 min read
2 min read
4 min read
3 min read