Pregunta de entrevista de Yahoo

Problem-solving, Algorithm, data structures