Dassault Systèmes Interview Question

find longest decreasing subarray in a given array and print it