- 1

What code can you use to sort a array for two highest values In an array?

ruby

15th Sep 2018, 8:17 PM
Damian Wayne
Damian Wayne - avatar
2 Respuestas
+ 4
since the question is not clear , do you want to sort array & find the first and second greatest elements ?
15th Sep 2018, 11:37 PM
Michael
Michael - avatar
0
Yeah 😜
16th Sep 2018, 1:00 PM
Damian Wayne
Damian Wayne - avatar