DataStructure-in-Kotlin
DataStructure-in-Kotlin copied to clipboard
Linked List KTX | Interger
Requirements
- [ ] MutableLinkedList<Int>.sort(isDescending: Boolean = false)
- [ ] LinkedList<Int>.sum()
- [ ] LinkedList.reversed() returns new list with reversed items
- [ ] LinkedList.distinct() returns new list with distinct items
- [ ] LinkedList.isSorted
- [ ] MutableLinkedList<Int>.mergeSort()