Strings • Exercise 4/6

Anagram Check

00:00
0
20 points

Instructions

Create a function anagram? that returns true if two strings
are anagrams of each other (contain the same letters).

  • Ignore case
  • Ignore spaces

Example: anagram?("listen", "silent") returns true

Your Code

Results

Click "Run Tests" to see results