Answers
Matlab Cody Problem 35. Quote Doubler
- Course
- Matlab Cody
- Institution
- Massachusetts Institute Of Technology
Problem 35. Quote Doubler Created by Cody Team in Cody Challenge 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.
[Show more]