https://github.com/liuyubobobo/Play-Leetcode/blob/master/0148-Sort-List/cpp-0148/main2.cpp
第124 - 129行
tail = p;
while(tail->next) tail = tail->next;
ListNode* ret = dummyHead->next;
delete dummyHead;
return ret;
做 while() 这个循环的意义在哪里?
还有就是已经 delete 了dummyHead了,整个链表已经被释放了,为什么还能返回?