Pregunta de entrevista de Sentry (CA)

Algorithm question to design an inventory tracking system.