Skip to main content
3 of 3
Commonmark migration

05AB1E, 9 8 bytes

Code:

lvyð-{}Q

Explanation:

l         # Lowercase the strings
 vy   }   # Map over the list, for each...
   ð-     #   remove spaces
     {    #   and sort
       Q  # Check equality

Try it online!

Adnan
  • 44.5k
  • 6
  • 82
  • 246