Available question text
Find the smallest length contiguous subarray whose degree (maximum element frequency) equals the degree of the whole array — essentially identify the elements that achieve the global max frequency and return the minimal span that covers all occurrences of any such element.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 697. Degree of an Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source