+ 4

Write a program to find second maximum number of a given Array?

Free to choose any programming language. Note that: 1.Array size may vary. 2.Don't use sorting.

13th Feb 2018, 11:29 AM
Amit Kumar Maurya
Amit Kumar Maurya - avatar
6 ответов
+ 17
ThisOne is for my Return on SL !!😊 && Thanks to @LukArToDo !!👍😉 https://code.sololearn.com/cF3MD07CuZVg/?ref=app
14th Feb 2018, 2:27 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 12
https://code.sololearn.com/cTEG8HvokY4t/?ref=app
14th Feb 2018, 12:59 PM
LukArToDo
LukArToDo - avatar
14th Feb 2018, 11:58 AM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
13th Feb 2018, 11:52 AM
Jacob Pembleton
Jacob Pembleton - avatar
- 2
print(sorted(array)[-2]) ## py
13th Feb 2018, 12:00 PM
sayan chandra
sayan chandra - avatar