Pregunta de entrevista de Yahoo

Behavior questions, system design and some code problems.