Capital One interview question

Complete the case study