Capital One Interview Question

There was a math assessment