Available question text
Given a circular array where each second every element can take its own or a neighbor's value (so values propagate outward one step per second), find the minimum seconds to make all elements equal. This reduces to, for each distinct value, computing the maximum circular distance any index is from the nearest occurrence of that value and taking the minimum of those maxima.
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
Amazon
Leetcode 2808. Minimum Seconds to Equalize a Circular Array
Reported Jan 4, 2025 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source