HF RL Explorer

Suffix Array and LCP Array Implementation

Suffix Array and LCP Array Implementation: a task in Terminal-Lego-15k (Harbor dataset). Implement a C++ program that constructs a Suffix Array and an LCP (Longest Common Prefix) Array for a given input string.

The task

Implement a C++ program that constructs a **Suffix Array** and an **LCP (Longest Common Prefix) Array** for a given input string.

Part of PrimeIntellect/Terminal-Lego-15k.