SplashLearn interview question

Find NGE in the array?