Walmart Interview Question

No hard problem