Loblaw Companies Interview Question

Coding problem not specific with a language. Race condition? Design problem