Four runners and five clues
Runners A, B, C and D finish a race with no ties.
- A finished ahead of B.
- C was not last.
- D finished immediately after A.
- B was not third.
- C was not first.
In what order did they finish?
Show a hint
Clue 3 makes A and D a consecutive block. Try each possible position for that block and use the other clues to rule out all but one.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Order the five runners from four cluesFour houses in a row, who owns the fish?Three friends, three drinks, three petsWho owns the zebra?Crack the briefcase code from four clues
All questions →