Sunday, 14 October 2012

100 locker riddle


Puzzle:

There are 100 closed lockers in a hallway. A man begins by opening all the 100
lockers. Next, he closes every second locker. Then he goes to every third locker
and closes it if it is open or opens it if it is closed (eg, he toggles every third
locker). After his 100th pass in the hallway, in which he toggles only locker
number 100, how many lockers are open?


Solution:
CLICK HERE FOR SOLUTION

POST YOUR OPINION IF YOU HAVE BETTER SOLUTION

No comments:

Post a Comment

Your feedback is always appreciated.
I will try to reply to your queries as soon as time allows.
Please do not spam Spam comments will be deleted immediately upon our review.