Second height number
unknown
plain_text
2 years ago
223 B
5
Indexable
arr0 = [5, 2, 7, 3, 1] Question : Find the second heighest number in given array. Test Cases arr1 = [23, 4, 56, 76, 75, 23] arr2 = [19, 11, 32, 45, 45, 12] ---------------- Example = [23, 2, 12, 56, 34, 10] Anwser = 34
Editor is loading...