Pergunta de entrevista da empresa JK Tech

Sort a linked list in descending order then reverse it.