Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1844. Replace All Digits with Characters
Given a string with lowercase letters at even indices and digits at odd indices, replace each digit by shifting the preceding letter forward by the digit's value (e.g., shift('a',1) = 'b') to produce the resulting string; do this in a single pass — length ≤100 and all shifts stay ≤ 'z'.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.