Skip to content

Latest commit

 

History

History

311-isAnagram

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

isAnagram

Interview question of the issue #311 of rendezvous with cassidoo.

The Question

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

Installing & Running

Just pnpm i to install all dependencies and then pnpm t to run the tests!