Interview question of the issue #311 of rendezvous with cassidoo.
Given two strings s
and t
, return true
if t
is an anagram of s
, and false
otherwise. Try this in a language you're not comfortable with!
Example:
> isAnagram('barbie', 'oppenheimer')
> false
> isAnagram('race', 'care')
> true
Just pnpm i
to install all dependencies and then pnpm t
to run the tests!