Topic: Array Problem / Level: intermediate

Problem: Given an array, find the smallest subarray that contains the largest element in the array.

Run the code to see the output here...