Skip to content

Commit 2762ea6

Browse files
authored
Update Implementation.py
1 parent 9b287d7 commit 2762ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03. Data Structures/Linked Lists/Implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def append(self, data):
4949
self.length += 1
5050

5151

52-
#Next operation we'll implement is prepend, wehre we add a node at the head of the list.
52+
#Next operation we'll implement is prepend, where we add a node at the head of the list.
5353
#For this, we will call the prepend method and pass the value we want to enter, which will create a new object of the node class
5454
#Then we will make the 'next' of the new node point to the head ,as the head is currently pionting to the first node of the list
5555
#And then we will update the head to point to new node as we want the new node to be new first node, i.e, the new head.

0 commit comments

Comments
 (0)