100 prisoners are stuck in the prison in solitary cells. The warden of the prison got bored one day and offered them a challenge. He will put one prisoner per day, selected at random (a prisoner can be selected more than once), into a special room with a light bulb and a switch which controls the bulb. No other prisoners can see or control the light bulb. The prisoner in the special room can either turn on the bulb, turn off the bulb or do nothing. On any day, the prisoners can stop this process and say "Every prisoner has been in the special room at least once". If that happens to be true, all the prisoners will be set free. If it is false, then all the prisoners will be executed. The prisoners are given some time to discuss and figure out a solution. How do they ensure they all go free?
Once while in his court, King Akbar asked Birbal to write something on a wall that makes one sad when read in good times and makes one happy when read in sad times.
He took only a few moment and wrote something that fit the requirements. What did he write?
On my way to St. Ives I saw a man with 7 wives. Each wife had 7 sacks. Each sack had 7 cats. Each cat had 7 kittens. Kittens, cats, sacks, wives. How many were going to St. Ives?
There are three boxes of different sizes with three cupcakes inside each of the boxes in Christina's kitchen. At night her daughter wakes up and goes to the kitchen. She opens a box and eats all three cakes.
But in the morning Christina finds out that each box still had three cupcakes. How?
Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.