Posted by: bshal March 6, 2013
nice riddle
Login in to Rate this Post:     0       ?        
 congratz freedom and kiddo, both are right.....



Okay, hard one this time:

Suppose you're in a hallway lined with 100 closed lockers. You begin by opening every locker. THen you close every second locker. Then you go to every third locker and open it (if it's closed) or close it (if it's open). Lets call this action toggling a locker. Continue toggling every nth locker on pass number n. After 100 passes, where you toggle only locker #100, how many lockers are open?
Read Full Discussion Thread for this article