Pergunta de entrevista da empresa Light

Based on data structures and algorithms.