Pergunta de entrevista da empresa Brilliant (CA)

Some standard data structures and algorithms question