PayIt interview question

How would you approach this problem differently and why?