Pergunta de entrevista da empresa Leanplum

One design question and few typical algorithm coding questions.