← Microsoft questions

In-place character replacements in a string with allowed single length expansion

Filed under Microsoft

Given a string and character pair mapping rules, transform the string in-place where allowed, with a single allowed expansion in string length.

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

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