Skip to content

Commit c49a939

Browse files
committed
0024 Solved
1 parent 32ea760 commit c49a939

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

Diff for: 0024-Swap-Nodes-in-Pairs/Animation/0015-3Sum.m4v

-2.49 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

Diff for: 0024-Swap-Nodes-in-Pairs/Animation/Animation.gif

-9.13 MB
Binary file not shown.

Diff for: 0024-Swap-Nodes-in-Pairs/Animation/Animation1.gif

4.68 MB
Loading

Diff for: 0024-Swap-Nodes-in-Pairs/Animation/Animation2.gif

2.43 MB
Loading

Diff for: 0024-Swap-Nodes-in-Pairs/Article/0024-Swap-Nodes-in-Pairs2.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
### 动画描述
3636

37-
![](https://blog-1257126549.cos.ap-guangzhou.myqcloud.com/blog/6kpyu.gif)
37+
<img src="../Animation/Animation1.gif" alt="Animation1" style="zoom:150%;" />
3838

3939
### 代码实现
4040

@@ -92,7 +92,7 @@ var swapPairs = function(head) {
9292

9393
### 动画描述
9494

95-
95+
<img src="../Animation/Animation2.gif" alt="Animation2" style="zoom:150%;" />
9696

9797
### 代码实现
9898

@@ -107,7 +107,7 @@ var swapPairs = function(head) {
107107
}
108108
// Nodes to be swapped
109109
let firstNode = head,
110-
secondNode = head.next;
110+
secondNode = head.next;
111111
// Swapping
112112
firstNode.next = swapPairs(secondNode.next);
113113
secondNode.next = firstNode;

0 commit comments

Comments
 (0)