Pergunta de entrevista da empresa Capital One

The online test is LeetCode-type questions. Total 4, I completed 3 on time.