Skip to content

Commit 15f2e55

Browse files
Update README.md
Add TortoiseHareAlgo to linked list documentation - Added TortoiseHareAlgo.java to file descriptions - Described its purpose: finding middle element using Tortoise-Hare algorithm
1 parent da0b0f1 commit 15f2e55

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/main/java/com/thealgorithms/datastructures/lists

src/main/java/com/thealgorithms/datastructures/lists/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ The `next` variable points to the next node in the data structure and value stor
3030
6. `MergeKSortedLinkedlist.java` : Merges K sorted linked list with mergesort (mergesort is also the most efficient sorting algorithm for linked list).
3131
7. `RandomNode.java` : Selects a random node from given linked list and diplays it.
3232
8. `SkipList.java` : Data Structure used for storing a sorted list of elements with help of a Linked list hierarchy that connects to subsequences of elements.
33+
9. `TortoiseHareAlgo.java` : Finds the middle element of a linked list using the fast and slow pointer (Tortoise-Hare) algorithm.

0 commit comments

Comments
 (0)