Suffix arrays: construct SA in O(n) and use for pattern matching.

Analyze the suffix arrays: construct sa in o(n) and use for pattern matching..

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Suffix arrays: construct SA in O(n) and use for pattern matching.

Analyze the suffix arrays: construct sa in o(n) and use for pattern matching..