Pregunta de entrevista de Housatonic Software

Data structure and algorithm questions.