This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = ['1a 2c 3c 4b'];
y_correct = ['1a 2c 3c 4b'];
assert(isequal(res(x),y_correct))
|
1917 Solvers
1594 Solvers
624 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
1568 Solvers
348 Solvers