We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e2bbeb commit db9be4fCopy full SHA for db9be4f
data_structures/linked_list/doubly_linked_list.py
@@ -12,12 +12,12 @@
12
class LinkedList: # making main class named linked list
13
"""
14
>>> linked_list = LinkedList()
15
- >>> linked_list.insert_head("a")
16
- >>> linked_list.insert_tail("b")
17
- >>> _ = linked_list.delete_tail()
+ >>> linked_list.insertHead("a")
+ >>> linked_list.insertTail("b")
+ >>> _ = linked_list.deleteTail()
18
>>> linked_list.isEmpty()
19
True
20
- >>> linked_list.delete_head()
+ >>> linked_list.deleteHead()
21
None
22
23
False
0 commit comments