Question d’entretien chez Capital One

Coding question was asked on the test