Skip to content

Conversation

@Rupeshhsharma
Copy link

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

@algorithms-keeper algorithms-keeper bot added the tests are failing Do not merge until tests pass label Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests are failing Do not merge until tests pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant