Pergunta de entrevista da empresa TRON

Classic data structure and algorithm coding questions.