Longest Duplicate Substring
Print the longest substring that occurs at least twice in the string (occurrences may overlap). Print an empty line if there is none.
Constraints
2 <= len(s) <= 3 * 10^4
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.