Skip to content

Commit e1382c1

Browse files
committed
"Added comments to SortedLinkedList.java to describe the implementation and provide a reference link."
1 parent 1863e6b commit e1382c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
/**
66
* A SortedLinkedList is a data structure that maintains a sorted list of elements.
77
* Elements are ordered based on their natural ordering or by a Comparator provided at the time of creation.
8-
*
8+
* This implementation uses a singly linked list to store the elements.
9+
* Further details can be found on this link
10+
* https://runestone.academy/ns/books/published/cppds/LinearLinked/ImplementinganOrderedList.html
11+
*
912
* @author Muhammad Junaid Khalid
1013
* @param int the type of elements in this list
1114
*/

0 commit comments

Comments
 (0)