Available question text
Check whether the array is a cyclic rotation of its ascending-sorted order; if so, return the minimum number of right circular shifts required to restore strict ascending order, otherwise return -1.
Related questions
Continue with questions that share topics or the same question type.
- Minimum Pair Removal to Sort Array I
Coding
- Minimum Pair Removal to Sort Array II
Coding
- Minimum Replacements to Sort the Array
Coding · Array · Greedy · Math
- Construct the Minimum Bitwise Array I
Coding
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 2855. Minimum Right Shifts to Sort the Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source