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?
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?
There are people and strange monkeys on this island, and you can not tell who is who (Edit: until you understand what they said - see below). They speak either only the truth or only lies.
Who are the following two guys?
A: B is a lying monkey. I am human.
B: A is telling the truth.
In the given picture, you can find two letters missing. When two particular letters are placed in the missing spots, you get an eight-letter word while reading in the anti-clockwise direction. Can you find out the missing letters and the missing word eventually?
You have three orange, two pink and five purple balls in the drawer beside your bed. There is no electricity and the room is entirely dark. How many balls must you take out to ensure at least one ball of each colour at least?