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

6692 Solutions

3864 Solvers

Last Solution submitted on Jun 25, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...