← Oracle questions
CodingReported in a candidate post, Aug 2021

Longest substring repeated more than twice

Filed under Oracle

Given a string, find the longest substring that appears more than twice. If constrained to an in-place solution, optimize memory usage without relying on heavy hash map allocations.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Oracle questions

Collected from public candidate posts and coding forums. Updated Nov 2026.