Median

[7, 2, 9] → 7

You can also choose a level by clicking its number.

About the course

Description
The middle value of a sorted array with an odd number of elements
More information
Arrays are indexed from zero. Sorting is ascending (from the smallest) unless stated otherwise.
Sample question
[7, 2, 9] → 7
Author
Jiří Preisler
Version
1.0