soulmachine / leetcode

LeetCode题解,151道题完整版。
BSD 3-Clause "New" or "Revised" License
11.29k stars 3.44k forks source link

solution for Insertion Sort List #41

Closed dolremi closed 8 years ago

dolremi commented 9 years ago

Modify the code to pass the test of cases such as 1-> NULL or 1->1->NULL The code has passed the test cases in leetcode

soulmachine commented 9 years ago

Thanks, I'll checkt this later.

soulmachine commented 8 years ago

我用 1->1->nullptr 这个数据测了一下,不会崩溃啊