Skip to content

Commit 188b5fd

Browse files
committed
update the linked list again
1 parent 991b307 commit 188b5fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_posts/2020-04-27-Single-Linked-List-Python.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
layout: default
3-
title: "Data Structure - Single Linked List in Python"
3+
title: Data Structure - Single Linked List in Python
4+
date: 2020-05-08 23:00:00 -0400
5+
published: 2020-05-08 23:00:00 -0400
46
comments: true
5-
categories: data structure and algorithms
67
tags: [linked list, data structure, algorithm, Python]
78
github: "https://github.com/cao-weiwei/"
89
noimage: true
@@ -221,7 +222,7 @@ def len_iterative(self):
221222

222223
Before we start the recursive solution, let's look the following diagram that could help us understand the method more specific.
223224

224-
<img src="/assets/images/posts/Single-Linked-List-Python/02_recursion_in_linkedlist.png" style="zoom:80%;" />
225+
<img src="/assets/images/posts/Single-Linked-List-Python/02_recursion_in_linkedlist.png" style="zoom:60%;" />
225226

226227
For any recursive method, we need a base case. In this class, the base case is whether or not we've encountered the end of the linked list which means the `None` pointer.
227228

0 commit comments

Comments
 (0)