Pergunta de entrevista da empresa Walgreens

Easy Leetcode problem , 1 Hard System Design Question.