QVC interview question

different ways to solve a problem