Pergunta de entrevista da empresa StackAdapt

One design question and several standard algorithm/data structure questions.