CS Brain Teasers


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