ALDI interview question

Questions calculating change