Pregunta de entrevista de True Balance

Find next highest number in array.