Capital One Interview Question

pretty straightforward case interview questions