Pergunta de entrevista da empresa Capital One

One of the algos was 2sum