Pergunta de entrevista da empresa John Deere

Asked about how to find the second largest number in an array.

Resposta da entrevista

Sigiloso

24 de jul. de 2017

The answer is quite easy : You sort it in descending order and then remove any duplicates and display the 2nd element of the array

2