Pergunta de entrevista da empresa Capital One

Leetcode easy problems similar to the practice test they gave.