Amazon Interview Question

Find length of decreasing sub sequence in an array.