Longest Duplicate Substring — String Algorithms

Find the longest stretch of letters in a text that occurs at least twice, copies allowed to overlap, or return empty if none.

String Algorithms · Hard

More in String Algorithms

All algorithm problems