Replace All Digits with Characters Problem
Replace All Digits with Characters Problem — ExecCode Easy DSA Practice
Solve the Replace All Digits with Characters problem on ExecCode. Free online easy DSA practice in String. Write and run code in Java, C++, Python — no signup required to run.
Description You are given a 0-indexed string s that has lowercase English letters in its even indices and digits in its odd indices. You must perform an operation shift(c, x), where c is a character and x is a digit, that returns the x^th character after c. For example, shift('a…
Practice Replace All Digits with Characters free on ExecCode. Browse more ExecCode DSA problems.