Capital One interview question

Handling situations on the spot