← Back
00:00

Digit Replacement Maximizer

Microsoft interview questions · Medium · Coding round · 6 tests

Perform exactly k replacements to turn non-7 digits into 7s and produce the largest possible final number string.

The full question, tests and reference solution are available with a plan that includes Microsoft.

Idle