Skip to content

Commit 524c712

Browse files
authored
Update delete_node.cpp
1 parent 922645b commit 524c712

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/4_Lists/delete_node.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
* Extend a basic singly linked list (as defined in list.h) by providing a
77
* function to remove the first occurrence of a given value from the list.
88
*
9-
* The remove operation works as follows:
10-
* - It traverses the list looking for the node containing the target value.
11-
* - If found, it adjusts the pointers to exclude the node from the list.
12-
* - Special handling is provided for removing the head node.
13-
*
149
* ASCII Illustration:
1510
*
1611
* Before removal: 1 -> 2 -> 3 -> 4 -> 5

0 commit comments

Comments
 (0)