Challenge: Anagram Problem

Task

Write a function that accepts two strings as parameters and checks whether these strings are anagrams of each other. An anagram is a text formed by rearranging the letters of another piece of text.

The strings should not be case-sensitive, meaning that Cats and AcTs are anagrams.

Get hands-on with 1400+ tech skills courses.