[Geeks for Geeks] Maximum Index

1 · · May 15, 2022, 1:51 p.m.
Maximum Index Given an array Arr[] of N positive integers. The task is to find the maximum of j - i subjected to the constraint of Arr[i] <= Arr[j]. ...