Skip to content

Commit 551bab4

Browse files
committed
Fix
1 parent e84028d commit 551bab4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

data_structures/linked_list/doubly_linked_list_two.py

+4
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ def create_linked_list() -> None:
240240
>>> linked_list.insert_at_position(position=1, value=10)
241241
>>> linked_list
242242
LinkedList(head=Node(data=10, previous=None, next=None), tail=Node(data=10, previous=None, next=None))
243+
>>> linked_list.insert_at_position(position=2, value=20)
244+
>>> linked_list.insert_at_position(position=1, value=30)
245+
>>> linked_list.insert_at_position(position=2, value=40)
246+
>>> linked_list.insert_at_position(position=3, value=50)
243247
"""
244248

245249

0 commit comments

Comments
 (0)