Capital One interview question

There was a math assessment