Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1062. Longest Repeating Substring
Given a string, return the length of the longest substring that appears at least twice in the string (overlaps allowed). This requires efficiently detecting repeated substrings — typical approaches use suffix arrays/automata or binary search with rolling hash to test candidate lengths.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.