CS Brain Teasers

  • Pirate problem (locks & keys)
  • Pick a random item from a stream
  • Black hat / white hat
  • Coin flipping (need to be right)