Challenge: Array Index Maximum Difference
Let’s solve the array index maximum difference problem.
We'll cover the following...
We'll cover the following...
Problem
Given an array arr[] of integers, find the two largest differences between indices i and j in the array such that:
iis less thanj