Pregunta de entrevista de IBM

It was one data structure question and on mySQL question.