diff --git "a/problems/0206.\347\277\273\350\275\254\351\223\276\350\241\250.md" "b/problems/0206.\347\277\273\350\275\254\351\223\276\350\241\250.md" index 4e33342a67..4c7098c03b 100644 --- "a/problems/0206.\347\277\273\350\275\254\351\223\276\350\241\250.md" +++ "b/problems/0206.\347\277\273\350\275\254\351\223\276\350\241\250.md" @@ -33,9 +33,9 @@ 那么接下来看一看是如何反转的呢? -我们拿有示例中的链表来举例,如动画所示:(纠正:动画应该是先移动pre,在移动cur) +我们拿有示例中的链表来举例,如动画所示: -![](https://code-thinking.cdn.bcebos.com/gifs/206.%E7%BF%BB%E8%BD%AC%E9%93%BE%E8%A1%A8.gif) +![](images/翻转链表演示动画.gif) 首先定义一个cur指针,指向头结点,再定义一个pre指针,初始化为null。 diff --git "a/problems/images/\347\277\273\350\275\254\351\223\276\350\241\250\346\274\224\347\244\272\345\212\250\347\224\273.gif" "b/problems/images/\347\277\273\350\275\254\351\223\276\350\241\250\346\274\224\347\244\272\345\212\250\347\224\273.gif" new file mode 100644 index 0000000000..5a68fbcddb Binary files /dev/null and "b/problems/images/\347\277\273\350\275\254\351\223\276\350\241\250\346\274\224\347\244\272\345\212\250\347\224\273.gif" differ