Kroger Interview Question

The usual