no147专题

leetcode No147. Insertion Sort List

Question: Sort a linked list using insertion sort. Algorithm: 新建一个链表,模仿插入排序的过程 Accepted Code: /*** Definition for singly-linked list.* struct ListNode {* int val;* ListNode *next;*