duval_factorize
Compute the Lyndon factorization of a string with Duval's algorithm to split text into lexicographically minimal nonincreasing factors.
Instructions
Compute the Lyndon factorization of a string using Duval's algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input string to factorize (max 1,000,000 chars) |