Cody

Solution 2070642

Submitted on 27 Dec 2019 by Yoshimasa Nakatani
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
s1 = 'Jack and Jill went up the hill'; s2 = 'Jck nd Jll wnt p th hll'; assert(isequal(s2,refcn(s1)))

del1 = 1×10 cell array {'a'} {'i'} {'u'} {'e'} {'o'} {'A'} {'I'} {'U'} {'E'} {'O'} k0 = [] k = 2 6 k0 = 2 6 k = 11 28 k0 = 2 6 11 28 k = 20 k0 = 2 6 11 28 20 k = 16 25 k0 = 2 6 11 28 20 16 25 k = [] k0 = 2 6 11 28 20 16 25 k = [] k0 = 2 6 11 28 20 16 25 k = [] k0 = 2 6 11 28 20 16 25 k = [] k0 = 2 6 11 28 20 16 25 k = [] k0 = 2 6 11 28 20 16 25 k = [] k0 = 2 6 11 28 20 16 25 s2 = 'Jck nd Jll wnt p th hll'

2   Pass
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = ' dn''t wnt t wrk. jst wnt t bng n th drm ll dy.'; assert(isequal(s2,refcn(s1)))

del1 = 1×10 cell array {'a'} {'i'} {'u'} {'e'} {'o'} {'A'} {'I'} {'U'} {'E'} {'O'} k0 = [] k = 10 31 39 55 60 k0 = 10 31 39 55 60 k = [] k0 = 10 31 39 55 60 k = 26 52 k0 = 10 31 39 55 60 26 52 k = 48 k0 = 10 31 39 55 60 26 52 48 k = 4 15 18 36 43 k0 = 10 31 39 55 60 26 52 48 4 15 18 36 43 k = [] k0 = 10 31 39 55 60 26 52 48 4 15 18 36 43 k = 1 23 k0 = 10 31 39 55 60 26 52 48 4 15 18 36 43 1 23 k = [] k0 = 10 31 39 55 60 26 52 48 4 15 18 36 43 1 23 k = [] k0 = 10 31 39 55 60 26 52 48 4 15 18 36 43 1 23 k = [] k0 = 10 31 39 55 60 26 52 48 4 15 18 36 43 1 23 s2 = ' dn't wnt t wrk. jst wnt t bng n th drm ll dy.'