Pergunta de entrevista da empresa Bounteous x Accolite

Find the point where the array started decreasing if the given array is first strictly increasing then decreasing. eg : 1 3 5 6 5 output:-> 6