InsertionSort
com.phasmidsoftware.sort.InsertionSort
object InsertionSort extends Sort
Simple implementation of insertion sort.
Works for small arrays but due to quadratic complexity is not generally good, unless array is partially sorted.
Attributes
- Graph
-
- Supertypes
- Self type
-
InsertionSort.type
Members list
In this article