Question d’entretien chez Capital One

Two coding questions that I did not pass.