Cody

Problem 44297. Automatic String Editing

Solution 1271601

Submitted on 19 Sep 2017 by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
str1 = 'abcd'; str2 = 'bcde'; assert(isequal(your_fcn_name(str1),str2))

2   Pass
str1 = 'aeiou'; str2 = 'bfjpv'; assert(isequal(your_fcn_name(str1),str2))

3   Pass
str1 = 'hello'; str2 = 'ifmmp'; assert(isequal(your_fcn_name(str1),str2))

4   Pass
str1 = 'bncdcvnqc'; str2 = 'codedword'; assert(isequal(your_fcn_name(str1),str2))

Suggested Problems

More from this Author18

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!