Pergunta de entrevista da empresa Amazon

Implement a function to reverse the second half of a linked list.