Factorize string into Lyndon words
Factorize string into Lyndon words
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
...
Examples