1062. Longest Repeating Substring
https://leetcode.com/problems/longest-repeating-substring
Description
Given a string s
, find out the length of the longest repeating substring(s). Return 0
if no repeating substring exists.
Example 1:
Example 2:
Example 3:
Example 4:
Constraints:
The string
s
consists of only lowercase English letters from'a'
-'z'
.1 <= s.length <= 1500
ac
Last updated