← Zoho questions
CodingMedium

Longest Repeating Character Replacement

Filed under Zoho · Also reported at CEDCOSS

Given a string s and an integer k, you can choose any character of the string and change it to any other uppercase English character at most k times. Find the length of the longest substring…

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.