Walgreens Interview Question

none really difficult, just have to think