链表的翻转
public ListNode reverseListNode(ListNode node){
ListNode pre = null;
ListNode now = node;//当前节点
while (now !=null){
ListNode after = now.next;
now.next = pre;
pre = now;
now = after;
}
return node;
}