Update 1-linked-list/README.md
This commit is contained in:
parent
0421d87598
commit
f4034546cc
@ -6,7 +6,7 @@ CS50 on [Linked Lists](https://www.youtube.com/watch?v=5nsKtQuT6E8)
|
|||||||
|
|
||||||
A linked list is a common data structure, where nodes are grouped to form a sequence. Each node holds data and a pointer to another node.
|
A linked list is a common data structure, where nodes are grouped to form a sequence. Each node holds data and a pointer to another node.
|
||||||
|
|
||||||
###Visualization
|
### Visualization
|
||||||
|
|
||||||
|42|-> |55|-> |4|-> |39|-> None
|
|42|-> |55|-> |4|-> |39|-> None
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ For example, to insert `|79|` after `|4|` in the list above, pseudocode would lo
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
###Implementation
|
### Implementation
|
||||||
|
|
||||||
Do not use lists or dictionaries. That's cheating. Create this using classes only. You will want a Node class and a LinkedList class.
|
Do not use lists or dictionaries. That's cheating. Create this using classes only. You will want a Node class and a LinkedList class.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user