Question:

Given an array of integers A[N], find the maximum value of (j-k) such that A[k] <= A[j] & j>k

Given an array of integers A[N], find the maximum value of (j-k) such that A[k] <= A[j] & j>k