Pergunta de entrevista da empresa Epsilon

Basic question on application design, average difficulty