Placement AptitudeVery hardAmazon aptitude · Goldman Sachs aptitude

Two players take turns removing 1, 2, 3 or 4 matchsticks from a pile of 23. Whoever takes the last matchstick wins. How many should the first player take on the first move to be sure of winning?

  1. A. 2
  2. B. 4
  3. C. 1
  4. D. 3

Correct answer: D. 3

Positions that are multiples of 5 are losing for the player to move, because whatever they take (k), the opponent takes 5 − k. Taking 3 leaves 20, a multiple of 5, and the first player keeps it that way to the end.

More Logical Reasoning for Placements questions

Exams that ask this topic