Files
2026-10-04 04:07:15 +00:00

4 lines
148 B
Plaintext

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.