Check if two strings are an anagram
EasyWrite a method that accepts two strings and returns true if they're anagrams.
Remember, an anagram is a word that is a rearrangement of all the letters of another word.
For example, the following inputs are anagrams, and should return true:
aabcd
andbacda
restful
andfluster
Solutions
6 Essential Strings Coding Interview Problems
Master Strings by trying the coding challenges below.
- 1.Reverse StringEasy
- 2.AnagramEasy
- 3.Reverse wordsMedium
- 4.String matchMedium
- 5.CompressionMedium
- 6.One edit awayHard