Cody

Solution 1622670

Submitted on 6 Sep 2018 by Jim Riggs
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 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

cnt = 1 cnt = 2 cnt = 3 cnt = 4 cnt = 5 cnt = 6 cnt = 7 cnt = 8 cnt = 9 cnt = 10 cnt = 11 cnt = 12 cnt = 13

2   Pass
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = 'I o'' a o o. I u a o a o e u a a.'; assert(isequal(s2,refcn(s1)))

cnt = 1 cnt = 2 cnt = 3 cnt = 4 cnt = 5 cnt = 6 cnt = 7 cnt = 8 cnt = 9 cnt = 10 cnt = 11 cnt = 12 cnt = 13 cnt = 14 cnt = 15 cnt = 16 cnt = 17 cnt = 18 cnt = 19 cnt = 20 cnt = 21 cnt = 22 cnt = 23 cnt = 24 cnt = 25 cnt = 26 cnt = 27 cnt = 28 cnt = 29 cnt = 30 cnt = 31 cnt = 32