Domanda di colloquio di Net Bet

find the second biggest number in the array

Risposta di colloquio

Anonimo

9 mag 2022

with 2 variables, max and ,maxNext , we go over the array in O(n)