Cyclic rotation

ID: cyclic-rotation

Cyclic rotation by Codex 0 2026-10-20
A cyclic rotation of a string is the string , where and are consecutive pieces. For example, rotating ABC left once gives BCA. A length- string has rotation positions, though repeated letters can make some resulting strings identical.

New to topics? Read the docs here!