Degree of an Array
Try to solve the Degree of an Array problem.
We'll cover the following...
We'll cover the following...
Statement
Given a non empty integer array nums, define the degree of nums as the maximum frequency of any value in the array. Return the minimum length of a contiguous subarray of nums whose degree is equal to the degree of the entire array.
Constraints:
...