In this puzzle, you have four light bulbs and three buttons. The 1st button works with the 1st light bulb, the 2nd button works

computer science

Description

In this puzzle, you have four light bulbs and three buttons. The 1st button works with the 1st light bulb, the 2nd button works with the 2nd and the 3rd light bulbs, and the 3rd button works with the 1st and the 4th light bulbs. Note that a button changes the states of corresponding light bulbs. When you click a button, if a light bulb is on, it will be off, and if a light bulb is off, it will be on. The goal of the puzzle is to turn on all the light bulbs using the buttons.


Related Questions in computer science category