diff --git a/data_structure/reverse_part_of_a_linked_list_via_recursion.md b/data_structure/reverse_part_of_a_linked_list_via_recursion.md index 69387b0..4ae035d 100644 --- a/data_structure/reverse_part_of_a_linked_list_via_recursion.md +++ b/data_structure/reverse_part_of_a_linked_list_via_recursion.md @@ -1,5 +1,9 @@ # Reverse Part of a Linked List via Recusion +**Author: [labuladong](https://github.com/labuladong)** + +**Translator: [CarrieOn](https://github.com/CarrieOn)** + It's easy to reverse a single linked list using iteration, however it's kind of difficult to come up with a recursive solution. Furthermore, if only part of a linked list needs reversed, can you nail it with **recursion**? If you haven't known how to **recursively reverse a single linked list**, no worry, we will start right here and guide you step by step to a deeper level. @@ -182,6 +186,4 @@ Compared to iteration, it is a little bit difficult to understand recursion, the For time complexity, iteration is O(1) while recursion is always O(N). For space complexity, iteration needs O(N) while recursion needs stack. Overall, iteration has a better performance. Solutions in this article provides you a good way to learn recursion. -**Mission**: Stick to original high quality articles, and make algorithms easy to understand. Welcome to subscribe my Wechat public account `ID:labuladong` for latest articles. - -![labuladong](../pictures/labuladong.jpg) \ No newline at end of file +**Mission**: Stick to original high quality articles, and make algorithms easy to understand. Welcome to subscribe my Wechat public account `ID:labuladong` for latest articles. \ No newline at end of file diff --git a/pictures/反转链表/1.jpg b/pictures/反转链表/1.jpg deleted file mode 100644 index 151357e..0000000 Binary files a/pictures/反转链表/1.jpg and /dev/null differ diff --git a/pictures/反转链表/2.jpg b/pictures/反转链表/2.jpg deleted file mode 100644 index d50918c..0000000 Binary files a/pictures/反转链表/2.jpg and /dev/null differ diff --git a/pictures/反转链表/3.jpg b/pictures/反转链表/3.jpg deleted file mode 100644 index ff2be51..0000000 Binary files a/pictures/反转链表/3.jpg and /dev/null differ diff --git a/pictures/反转链表/4.jpg b/pictures/反转链表/4.jpg deleted file mode 100644 index acfb32e..0000000 Binary files a/pictures/反转链表/4.jpg and /dev/null differ diff --git a/pictures/反转链表/5.jpg b/pictures/反转链表/5.jpg deleted file mode 100644 index c3a5537..0000000 Binary files a/pictures/反转链表/5.jpg and /dev/null differ diff --git a/pictures/反转链表/6.jpg b/pictures/反转链表/6.jpg deleted file mode 100644 index a29283c..0000000 Binary files a/pictures/反转链表/6.jpg and /dev/null differ diff --git a/pictures/反转链表/7.jpg b/pictures/反转链表/7.jpg deleted file mode 100644 index 1faecf7..0000000 Binary files a/pictures/反转链表/7.jpg and /dev/null differ diff --git a/pictures/反转链表/title.png b/pictures/反转链表/title.png deleted file mode 100644 index 5a411d6..0000000 Binary files a/pictures/反转链表/title.png and /dev/null differ diff --git a/pictures/子集/.DS_Store b/pictures/子集/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/pictures/子集/.DS_Store and /dev/null differ