0

'write a function that accepts an array of non negative integers and returns the second largest integer in the array.

return -1 if there is no second largest

18th Feb 2017, 2:23 PM
Ricardo Chitagu
Ricardo Chitagu - avatar
2 Réponses
+ 1
So, where's the problem? Feel free to post code you already have, even if it's not working, so we can find out what the problem is!
18th Feb 2017, 3:43 PM
Robobrine
Robobrine - avatar
0
Java
18th Feb 2017, 2:23 PM
Ricardo Chitagu
Ricardo Chitagu - avatar