Question d’entretien chez Lutron Electronics

three lights riddle, pointers, question about implementing search algo