Capital One interview question

same as the one on GD.