Sixteen Bottles, One Round

Brain Teasers
Information
Medium
One of bottles is poisoned; poison kills exactly hours after drinking. With one -hour round of parallel tests, how many mice are needed to identify the poisoned bottle?
Hint 1

Each mouse gives one bit: dies or survives.

Hint 2

Label bottles to in binary.

Show worked solution
  1. 1. Encoding

    Mouse drinks from every bottle whose binary label has a in bit .

  2. 2. Decode

    The pattern of deaths spells the bottle's label. , so mice suffice and cannot.

  3. 3. Key idea

    One round of binary outcomes is a binary code: you need testers.

Answer: 4

Related roles: Browse quant jobs

Related problems