Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8ae54f2

Browse files
doc: update traversal_v1.py
1 parent 48d4b59 commit 8ae54f2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎linked_lists/traversal/traversal_v1.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,4 @@ def traverse(head):
4848
The function creates a new list `nodes` to store the values. The size of this list grows in proportion to the number
4949
of nodes in the linked list.
5050
51-
Further Notes:
52-
This code implements a simple linked list traversal using a single loop. While efficient and easy to understand, consider
53-
alternative approaches if you need to perform operations on the nodes themselves (e.g., modify values or links). These
54-
alternative approaches might directly manipulate the nodes in the linked list, potentially avoiding the creation of an
55-
additional list.
5651
"""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /