Minimum rotations to get back the same string
Filed under OLA
The question
Given a string, find the minimum number of rotations (at least one) needed to obtain the exact same string back.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.