How do you link 500 bulbs to 500 switches, when they are in different rooms and are not numbered?

There are 500 bulbs in the hall of a palace. The switch control(with 500 switches) for these bulbs is located in another room. Unfortunately the switches are not marked with the bulb numbers. A new employee arrives. What is the minimum number of trips he has to make to the hall to know exatcly which corresponds to... show more There are 500 bulbs in the hall of a palace. The switch control(with 500 switches) for these bulbs is located in another room. Unfortunately the switches are not marked with the bulb numbers. A new employee arrives. What is the minimum number of trips he has to make to the hall to know exatcly which corresponds to which bulb?
1 answer 1