https://wenku.baidu.com/view/0fa323af25c52cc58ad6bea0.html就是其中的inverse函数
作用,将链表翻转1 3 6 4 2 5得到5 2 4 6 3 1