amazon Interview Logical Reasoning Mathematical Reasoning

There are 100 bulbs in a room. 100 strangers have been accumulated in the adjacent room. The first one goes and lights up every bulb. The second one goes and switches off all the even numbered bulbs – second, fourth, sixth... and so on. The third one goes and reverses the current position of every third bulb (third, sixth, ninth… and so on.) i.e. if the bulb is lit, he switches it off and if the bulb is off, he switches it on. All the 100 strangers progresses in the similar fashion.
After the last person has done what he wanted, which bulbs will be lit and which ones will be switched off ?

Read Solution (Total 5)

amazon Other Question

Time in a digital clock can be palindromic like 12:12 (same when read forwards or backwards).
Whats the minimum interval between 2 times that are palindromic ?
There are 3 bags and all are labeled incorrectly as follow:
Bag1 : Silver
Bag2 : Gold
Bag3 : Silver and Gold.
You need to label all bags correctly by opening just one bag.