Interview Puzzles :: Discussion
There are 100 doors, all closed. In a nearby cage are 100 monkeys.
The first monkey is let out and runs along the doors opening every one. The second monkey is then let out and runs along the doors closing the 2nd, 4th, 6th,... all the even-numbered doors. The third monkey is let out. He attends only to the 3rd, 6th, 9th,... doors (every third door, in other words), closing any that is open and opening any that is closed, and so on. After all 100 monkeys have done their work in this way, what state are the doors in after the last pass, which doors are left open and which are closed?
No Best Answer on this question yet!
Asked In : Cavium Networks
22 Nov, 2019 8:46 AM
2 Jul, 2019 2:22 AM
31 Jan, 2019 11:37 AM
29 Aug, 2018 3:04 PM
First Door is Close ,Then 3(2,3,4) Doors are Open ,Then 3 (5,6,7) Door Will be Close so on.
Answer = 50 Door is Closed and 50 Door Opened;
11 Aug, 2018 8:56 AM
All perfect square number doors are left opened.
- Rate This: +3 -0
- To Reading List