Kroger Interview Question

I dont really know, its been over a year since