SIGN IN SIGN UP

Add Longest Repeated Substring algorithm (#7286)

* Add Longest Repeated Substring algorithm

Implement LongestRepeatedSubstring in the strings package using the
existing SuffixArray and Kasai's algorithm for LCP array construction.
Includes parameterized unit tests covering typical and edge cases.

* style: reformat test file per clang-format and add coverage test

---------

Co-authored-by: Çağlar Eker <eker.caglar@hepsiburada.com>
Ç
Çağlar Eker committed
12935c291def0a4079c961a0aa7652177b1b05f0
Parent: 109df1f
Committed by GitHub <noreply@github.com> on 2/22/2026, 6:15:22 PM