Pergunta de entrevista da empresa Capital One

it was a certain case question