Skip to content

Trying to solve this search based algorithm problem I found online

Notifications You must be signed in to change notification settings

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

No packages published