Safeway Canada Interview Question

Not difficult