Skip to content

Commit

Permalink
update leetcode
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobinqt committed Sep 4, 2023
1 parent d2e9d14 commit 5910eef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions book.leetcode/docs/medium/24.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func swapPairs(head *ListNode) *ListNode {
curr.Next.Next = tmp
curr.Next.Next.Next = tmp1

// 这里也可以直接写成 curr = tmp
curr = curr.Next.Next
}

Expand Down

0 comments on commit 5910eef

Please sign in to comment.