Capital One interview question

pretty straightforward case interview questions