LeetCode 1062 - Longest Repeating Substring
LeetCode Problem 1062 Difficulty: 🟡 Medium Topics: String, Binary Search, Dynamic Programming, Rolling Hash, Suffix Array, Hash Function Solution Problem Understanding The problem asks us to find the length of the longest substring that appears at least twice in a given string s . A substring is a contiguous sequence of characters inside a string. The repeated substrings may overlap with each other, which is an important detail. For example,...