Cody

Problem 35. Quote Doubler

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote character.

If there are n such occurrences in s1, then s2 will be n characters longer than s1.

Solution Stats

55.31% Correct | 44.69% Incorrect
Last solution submitted on Oct 10, 2019

Problem Comments

Solution Comments

Problem Recent Solvers1514

Suggested Problems

More from this Author95

Problem Tags