反转链表1. 递归 反转链表 1. 递归public ListNode reverseList(ListNode head) { //递归 if(head == null || head.next == null){ return head; } ListNode newHead = reverseList(head.next); head.next.next = head; head.next = null; return newHead;}