Walgreens Interview Question

Easy Leetcode problem , 1 Hard System Design Question.