Second largest number

[3, 9, 5, 7] → 7

You can also choose a level by clicking its number.

About the course

Description
Find the second largest value in an array
More information
Arrays are indexed from zero. Sorting is ascending (from the smallest) unless stated otherwise.
Sample question
[3, 9, 5, 7] → 7
Author
Jiří Preisler
Version
1.0