Pergunta de entrevista da empresa Dassault Systèmes

find longest decreasing subarray in a given array and print it