Welcome to MindCipher, a social repository of the world's greatest brain teasers, logic puzzles and mental challenges.

### Jay Elliott

#### Likes 17

 13 Bit Pair Swap 4 Balloon Business 8 Non-Adaptive 12 Identical Balls 37 No if() Only abs() 16 100 Light Bulbs 9 The Monty Hall Problem 5 Crazy Google Interview Question 10 Two Trains 21 Odd Pills 17 Multiples of 8 plus 1 Show More
 10 Mutilated Chessboard Problem 5 Count The Bits 6 Partitioning a set 18 Cocktail Party 4 Don't Mate in One 1 Parodoxical Statements from Life 9 1978

#### Ratings 7

 10 6 Two Trains 21 6 Odd Pills 12 2 Carpeting a Donut 5 10 Count The Bits 6 10 Partitioning a set 4 6 Don't Mate in One 1 6 Parodoxical Statements from Life

#### Submitted Puzzles 2

 5 Count The Bits Write a function that counts the number of bits in an integer that are set to 1 that is linear in time complexity in the worst case, but sub-linear on average. Hard 7.6 21 Odd Pills Your pharmacist gives you 5 jars filled with pills. The pills contained in each jar have an identical appearance and size (i.e. if you mixed all of the pills you wouldn't be able to tell them apart). ... Doable 3.6