← Arcesium questions

Maximum length prefix printable with broken keys and k errors

Filed under Arcesium

Given an array of remaining key quotas, a target string, and an integer K, find the maximum prefix length of the string that can be typed allowing at most K broken key errors.

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

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