题目链接
将原链表头结点指向null 从第二个结点到结尾一次插入到链表头
public ListNode reverseList(ListNode head) {
if (head == null || head.next == null)
题目链接
将原链表头结点指向null 从第二个结点到结尾一次插入到链表头
public ListNode reverseList(ListNode head) {
if (head == null || head.next == null)