Pregunta de entrevista de IBM

Data structure and algorithm coding questions.