Here’s the problem statement: Given an array of integers, find the end points of the longest range of values present in the array. Note the elements in the range need not necessarily be placed adjacent/in order in the input array. For example:The array: [4, 20, 5, 6, 21, 22, 7, 8, 41, 9] Output: [6]Continue reading “Scribble 12: Maximum Range”