PayIt Interview Question

How would you approach this problem differently and why?