Tag: interview questions

Josephus Problem Answer: Person 73 Survives [Solved]
Interview Prep

Josephus Problem Answer: Person 73 Survives [Solved]

One hundred people stand in a circle. Person 1 takes a sword, removes person 2, and passes it on. The last person…

Read more →
9 Dots Puzzle Answer: 4 Lines [Solved]
Interview Prep

9 Dots Puzzle Answer: 4 Lines [Solved]

Nine dots, four straight lines, one pen that never leaves the paper. The 9 dots puzzle looks impossible until you spot the…

Read more →
Three Logicians Bar Puzzle: Answer [Solved]
Interview Prep

Three Logicians Bar Puzzle: Answer [Solved]

Three logicians walk into a bar and the bartender asks if they all want a drink. The first says I don't know,…

Read more →
Goldman Sachs Coins Puzzle: 10 Stacks, 1 Weighing [Solved]
Interview Prep

Goldman Sachs Coins Puzzle: 10 Stacks, 1 Weighing [Solved]

Ten stacks of coins, one fake stack, one weighing. The Goldman Sachs coins puzzle looks impossible until you spot the trick: take…

Read more →
Boy or Girl Paradox Answer: 1 in 3, Not 1 in 2 [Solved]
Interview Prep

Boy or Girl Paradox Answer: 1 in 3, Not 1 in 2 [Solved]

A father has two children and at least one is a boy. What is the chance both are boys? Most candidates say…

Read more →
Einstein Riddle Answer: Who Owns the Fish? [Solved]
Interview Prep

Einstein Riddle Answer: Who Owns the Fish? [Solved]

The Einstein riddle answer is the German owns the fish. Five houses, fifteen clues, one solution. This walkthrough builds the logic grid…

Read more →
Five Sailors Coconuts Puzzle Answer: 3,121 [Solved]
Interview Prep

Five Sailors Coconuts Puzzle Answer: 3,121 [Solved]

Five sailors and one monkey share a pile of coconuts. Each sailor secretly takes a share at night, and the monkey gets…

Read more →
Airplane Seat Puzzle Answer: Last Passenger Gets Own Seat 50% [Solved]
Interview Prep

Airplane Seat Puzzle Answer: Last Passenger Gets Own Seat 50% [Solved]

One passenger loses their ticket and sits anywhere on the plane. The last passenger still has a 50% chance of their own…

Read more →
Secretary Problem Answer: Interview 37%, Then Hire [Solved]
Interview Prep

Secretary Problem Answer: Interview 37%, Then Hire [Solved]

The secretary problem answer is to interview the first 37% of candidates, reject them all, then hire the first candidate who beats…

Read more →
Ant Rubber Rope Puzzle Answer: Yes, But It Takes 10^43,429 Seconds [Solved]
Interview Prep

Ant Rubber Rope Puzzle Answer: Yes, But It Takes 10^43,429 Seconds [Solved]

Yes, the ant reaches the far end, but only after about 10^43,429 seconds. This walkthrough shows why the stretching rope helps the…

Read more →