Question d’entretien chez Dassault Systèmes

find longest decreasing subarray in a given array and print it