Pret A Manger Interview Question

Not sure what the problem is