Cody

# Problem 44297. Automatic String Editing

Solution 3441873

Submitted on 27 Oct 2020 at 19:58 by Wesley Maa
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))

str2 = 97 98 99 100 str2 = 98 99 100 101 str2 = 'bcde'

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

str2 = 97 101 105 111 117 str2 = 98 102 106 112 118 str2 = 'bfjpv'

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

str2 = 104 101 108 108 111 str2 = 105 102 109 109 112 str2 = 'ifmmp'

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

str2 = 98 110 99 100 99 118 110 113 99 str2 = 99 111 100 101 100 119 111 114 100 str2 = 'codedword'

### Community Treasure Hunt

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

Start Hunting!