Pergunta de entrevista da empresa IBM

It was one data structure question and on mySQL question.