Skip to content

Commit 73b166f

Browse files
authored
Update doubly_linked_list.py
1 parent db9be4f commit 73b166f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/linked_list/doubly_linked_list.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class LinkedList: # making main class named linked list
1616
>>> linked_list.insertTail("b")
1717
>>> _ = linked_list.deleteTail()
1818
>>> linked_list.isEmpty()
19-
True
19+
False
2020
>>> linked_list.deleteHead()
2121
None
2222
>>> linked_list.isEmpty()
23-
False
23+
True
2424
"""
2525

2626
def __init__(self):

0 commit comments

Comments
 (0)