Aristocrat Interview Question

Clock, bulb puzzles