Kroger Interview Question

Nothing unexpected here