Pergunta de entrevista da empresa Sentry (CA)

Algorithm question to design an inventory tracking system.