Skip to content

Commit d46a065

Browse files
committed
docs: update documentation for MiddleOfLinkedList class
1 parent d493cd9 commit d46a065

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/thealgorithms/datastructures/lists/MiddleOfLinkedList.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
*
1010
* <p>This method does not modify the input list.</p>
1111
*
12+
* <p>Reference: https://en.wikipedia.org/wiki/Cycle_detection#Floyd's_tortoise_and_hare</p>
13+
*
1214
* <p>Complexity:</p>
1315
* <ul>
1416
* <li>Time: {@code O(n)}</li>

0 commit comments

Comments
 (0)