HBO interview question

Design and algorithm questions.