Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
LeetCodeAnimation
Commits
879e5250
Commit
879e5250
authored
May 22, 2019
by
bluove
Browse files
a little mistake
parent
4bc2b55a
Changes
1
Hide whitespace changes
Inline
Side-by-side
notes/LeetCode第21号问题:合并两个有序链表.md
View file @
879e5250
...
...
@@ -84,7 +84,7 @@ ListNode* mergeTwoOrderedLists(ListNode* pHead1, ListNode* pHead2){
if
(
NULL
==
pHead1
){
return
pHead2
;
}
else
if
(
NULL
==
pHead2
){
return
pHead
2
;
return
pHead
1
;
}
else
{
if
(
pHead1
->
data
<
pHead2
->
data
){
newHead
=
pHead1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment