Pergunta de entrevista da empresa Lutron Electronics

three lights riddle, pointers, question about implementing search algo