Cody

Solution 942097

Submitted on 25 Aug 2016 by Sienna Grace
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)))

expression = [qwrtypsdfghjklzxcvbnm] match = Columns 1 through 14 'J' 'c' 'k' 'n' 'd' 'J' 'l' 'l' 'w' 'n' 't' 'p' 't' 'h' Columns 15 through 17 'h' 'l' 'l' noMatch = Columns 1 through 14 '' 'a' '' ' a' '' ' ' 'i' '' ' ' 'e' '' ' u' ' ' '' Columns 15 through 18 'e ' 'i' '' '' s2 = a a i e u e i

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)))

expression = [qwrtypsdfghjklzxcvbnm] match = Columns 1 through 14 'd' 'n' 't' 'w' 'n' 't' 't' 'w' 'r' 'k' 'j' 's' 't' 'w' Columns 15 through 28 'n' 't' 't' 'b' 'n' 'g' 'n' 't' 'h' 'd' 'r' 'm' 'l' 'l' Columns 29 through 30 'd' 'y' noMatch = Columns 1 through 13 'I ' 'o' ''' ' ' 'a' '' ' ' 'o ' 'o' '' '. I ' 'u' '' Columns 14 through 27 ' ' 'a' '' ' ' 'o ' 'a' '' ' o' ' ' '' 'e ' '' 'u' ' a' Columns 28 through 31 '' ' ' 'a' '.' s2 = I o' a o o. I u a o a o e u a a.