Python
Python copied to clipboard
Add Longest Repeated Substring algorithm
This PR adds an implementation of the Longest Repeated Substring (LRS) algorithm in strings directory.
- Time complexity: O(n)
- Returns the longest substring that appear
File added:
- strings/longest_repeated_substring.py