Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

S-3 Find Anagram

Write a function that accepts two words and checks if they are anagrams. In other words check if they contain the same letters exactly regardless of order.

It's better before start comparing the two strings to put both to lower case, in order to avoid case sensitivity problems.

You may find helpful the .sort() method of an array to complete this task faster.

What does the sort do?

Find Anagram

Kostas Diakogiannis
Module by Kostas Diakogiannis, updated more than 1 year ago
No tags specified