Pergunta de entrevista da empresa Capital One

Typical medium level algorithmic leetcode type problems.