โ† All coding problems

Anagrams

MediumHashing

Return true if a and b contain exactly the same letters the same number of times (case-sensitive).

Function
function solve(a, b)
Example 1
a = "listen"
b = "silent"
โ†’ true

Submit also runs 3 hidden tests, including edge cases.

console.log output is shown below