Capital One interview question

Mini Case, very easy calculation