Skip to content

ahnafyy/find-the-rabbit-in-the-hole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Rabbit in the Hole ๐Ÿ‡๐Ÿ•ณ๏ธ

In Ben Awad's 'coding interview' with React Core team member Dan Abramov he posed Dan the following tricky coding interview question:

๐Ÿ•ณ๏ธ There are 100 holes in a line, and there's a rabbit hiding in one of the holes ๐Ÿฐ

You can only look in one hole at a time, and every time you look in a hole, the rabbit jumps to an adjacent hole. Find the rabbit ๐Ÿ‡

A good solution finds the right algorithm with the best time complexity โฑ๏ธ๐Ÿ”

About

Trying to solve this search based algorithm problem I found online

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

โšก