Skip to content

Latest commit

 

History

History

007-firstDuplicate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

firstDuplicate

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

The question

Write a function that takes in a string and returns the first duplicate character it finds.

Bonus points: write another function that takes in a string and removes all the duplicate characters.

Installing & Running

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