All problems
MediumAlgorithms
Are two strings anagrams?
Return True if two strings are anagrams of each other (ignore case).
- #strings
- #sorting
Sample input
"listen", "silent"
Sample output
True
anagram-check.py
Output
Press "Run code" to execute.
Loading…
Return True if two strings are anagrams of each other (ignore case).
"listen", "silent"
True
Press "Run code" to execute.