Unverified Commit 79fd9bbf authored by 程序员吴师兄's avatar 程序员吴师兄 Committed by GitHub
Browse files

Merge pull request #25 from bluove/bug

a little mistake
parents 4bc2b55a 879e5250
......@@ -84,7 +84,7 @@ ListNode* mergeTwoOrderedLists(ListNode* pHead1, ListNode* pHead2){
if (NULL == pHead1){
return pHead2;
}else if(NULL ==pHead2){
return pHead2;
return pHead1;
}else{
if (pHead1->data < pHead2->data){
newHead = pHead1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment