Capital One Interview Question

Solve this case interview given information