Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 2 2 2 3 4 4 3 5];
y_correct = [1 2 3 4 3 5];
assert(isequal(noTwins(x),y_correct))
x = [1 1 2 2 2 3 4 4 1 1];
y_correct = [1 2 3 4 1];
assert(isequal(noTwins(x),y_correct))
|
1091 Solvers
Remove the small words from a list of words.
672 Solvers
201 Solvers
Get the length of a given vector
3559 Solvers
Create a Multiplication table matrix...
281 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!