Skip to content

Commit e6b2750

Browse files
authored
Update loops.cpp
1 parent ab8e575 commit e6b2750

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/4_Lists/loops.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
* storing all allocated nodes in a vector so that they can be safely deleted
99
* even if a loop exists.
1010
*
11-
* The class provides:
12-
* - append: Add a new node with a given value.
13-
* - connectNodes: Connect one node to another (forming a loop if desired).
14-
* - hasLoop: Detects a loop in the list using Floyd's cycle-finding algorithm.
15-
*
1611
* ASCII Illustration:
1712
*
1813
* Without Loop:

0 commit comments

Comments
 (0)