medianOfThree

fun <T : Comparable<T>> MutableList<T>.medianOfThree(low: Int, high: Int): Int

Median of three finds the pivot by taking the median of the first, middle and last element.

Receiver

MutableList

Return

Int

Parameters

low

Int

high

Int