Amazonjuniornov. de 2024
Longest Repeating Substring: Find the longest duplicated substring in a given string. If no such substring exists, return an empty string.
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.
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Longest Repeating Substring: Find the longest duplicated substring in a given string. If no such substring exists, return an empty string.
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.