Rupesh
Rupesh
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
Fix #28700 Please let me know if my approach or fix needs any improvements. I'm open to feedback and happy to make changes based on suggestion. Thankyou!
Fix #29420 Please let me know if my approach or fix needs any improvements. I'm open to feedback and happy to make changes based on suggestion. Thankyou!