Available question text
Find the longest contiguous substring that appears at least twice (overlaps allowed) in a given lowercase string, or return "" if none exists. With n up to 3·10^4, this typically requires efficient techniques such as suffix arrays/LCP or binary search with rolling hash.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Amazon
Leetcode 1044. Longest Duplicate Substring
Reported Nov 12, 2024 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source