Capital One interview question

the star method is one thing they ask