Pergunta de entrevista da empresa Sam's Club

Usual data structures and algorithms.