Closed ravikant2707 closed 1 year ago
resolves #2 here I am comparing each number in array with the number which is right side of that number. logic( arr[i]>=arr[i+1]); for all arr[i] output- array of all leaders.
resolves #2 here I am comparing each number in array with the number which is right side of that number. logic( arr[i]>=arr[i+1]); for all arr[i] output- array of all leaders.