Safeway Interview Question

Nothing difficult.