โ† Zoho questions

Longest Sequence Between Same Characters

Filed under Zoho

Given a string, find the maximum number of characters between any two occurrences of the same character.

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 Zoho questions

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