...collection of coding challenges from LeetCode, HackerRank...
Repeatedly find the min and max value in subarraysSort the overall array and take the first and last element in the subarrayMinimumDifferenceBetweenHighestAndLowestOfKScore Find the end of duplicates in an array