suffix-structure-builder
SolidBuild and query suffix arrays and related structures
AI & Automation 1,160 stars
71 forks Updated today MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Suffix Structure Builder Skill
## Purpose
Build suffix arrays, suffix trees, and related structures with efficient construction algorithms and common query implementations.
## Capabilities
- Suffix array construction (SA-IS, DC3)
- LCP array construction
- Suffix tree construction
- Suffix automaton construction
- Query implementations for each structure
- Sparse table for LCP queries
## Target Processes
- trie-suffix-structures
- pattern-matching-algorithms
- string-processing
## Suffix Structures
### Suffix Array
- O(n log n) or O(n) construction
- Combined with LCP for powerful queries
- Pattern matching in O(m log n)
### LCP Array
- Kasai's algorithm O(n)
- Range minimum queries for LCA
- Distinct substring counting
### Suffix Tree
- Ukkonen's algorithm O(n)
- More complex but powerful
- Direct pattern matching O(m)
### Suffix Automaton
- O(n) construction
- Smallest automaton for all substrings
- Powerful for counting problems
## Input Schema
```json
{
"type": "object",
"properties": {
"structure": {
"type": "string",
"enum": ["suffixArray", "lcpArray", "suffixTree", "suffixAutomaton"]
},
"algorithm": { "type": "string" },
"queries": { "type": "array" },
"language": {
"type": "string",
"enum": ["cpp", "python", "java"]
}
},
"required": ["structure"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"comp...
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
advanced-ds-library
Provide implementations of advanced data structures
1,160 Updated today
a5c-ai AI & Automation Solid
data-structure-selector
Select optimal data structure based on operation requirements
1,160 Updated today
a5c-ai AI & Automation Solid
string-algorithm-matcher
Match string problems to appropriate algorithms
1,160 Updated today
a5c-ai AI & Automation Solid
segment-tree-builder
Generate customized segment tree implementations
1,160 Updated today
a5c-ai AI & Automation Solid
proof-assistant
Assist in constructing algorithm correctness proofs
1,160 Updated today
a5c-ai