Aristocrat interview question

Clock, bulb puzzles