Pergunta de entrevista da empresa Block

Very simple algorithm and data structure