suffix_array_build
Builds a suffix array for an input string and optionally computes the LCP array for longest common prefix analysis.
Instructions
Build a suffix array for a string, with optional LCP (longest common prefix) array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcp | No | Also compute the LCP array (default false) | |
| text | Yes | Input string |