Cody

Problem 44297. Automatic String Editing

Solution 1658064

Submitted on 24 Oct 2018 by goc3
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))

ans = 'bcde'

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

ans = 'bfjpv'

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

ans = 'ifmmp'

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

ans = 'codedword'

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!