AlgorithmsStringsEdit on GitHubEdit history
Booth's Least Rotation Algorithm
lexicographically minimal string rotation1980
An algorithm that finds, in linear time, the starting position of the lexicographically smallest of all cyclic rotations of a string by adapting the KMP failure function. It is used to compute canonical forms of circular strings.
Origin
Kellogg S. Booth (1980). Lexicographically least circular substrings. Information Processing Letters 10(4–5).doi:10.1016/0020-0190(80)90149-0 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Knuth–Morris–Pratt1970
Reference workDescribed as finding the least rotation by adapting the Knuth–Morris–Pratt failure-function preprocessing. — doi:10.1016/0020-0190(80)90149-0
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…