Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = {'MATLAB','HURRAY','SPARKLY','KITTENS','FUN'};
B = 'KITTENS';
C = {'MATLAB','HURRAY','SPARKLY','FUN','KITTENS'};
assert(isequal(puzzler(A,B),C))
|
2 | Pass |
A = {'HELP!','I''VE','FALLEN','ON THE','CAPS LOCK','KEY'};
B = 'stop shouting';
C = {'HELP!','I''VE','FALLEN','ON THE','CAPS LOCK','KEY'};
assert(isequal(puzzler(A,B),C))
|
3 | Pass |
A = {'When','in the','human events','course','of'};
B = 'human events';
C = {'When','in the','course','of','human events'};
assert(isequal(puzzler(A,B),C))
|
4 | Pass |
A = {'Soulwise','these','times','are','trying'};
B = 'times';
C = {'Soulwise','these','are','trying','times'};
assert(isequal(puzzler(A,B),C))
|
Find relatively common elements in matrix rows
644 Solvers
Project Euler: Problem 4, Palindromic numbers
120 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
196 Solvers
Integer Sequence - II : New Fibonacci
138 Solvers
380 Solvers