Pergunta de entrevista da empresa Micro Focus

Find the length of the longest non decreasing subarray