Linked List (3) - Prepend, Pop First, Get, Set and Insert
I haven't taken the course because I had to work on my paper…
Today, I learned about Prepend, Pop First, Get, Set, and Insert in Linked List(LL).
Prepend
def prepend(self, value):
new_node = Node(value)
if self.length == 0:
...
kiwicodenest.hashnode.dev3 min read