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 โฑ๏ธ๐