forked from Lainports/opnsense-ports
3 lines
148 B
Text
3 lines
148 B
Text
Algorithm::MinMax finds the minimum and maximum of a given
|
|
array with at most 3n/2 - 2 comparisons, where n is the
|
|
number of elements of the array.
|