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 = [ 5 4 1 3 2];
y_correct = [ 2 4 5 3 1 ];
assert(isequal(sort_mid(x),y_correct))
|
2 | Pass |
%%
x = [ 73 45 23 32 65 94 10 64 57 35 ];
y_correct = [ 10 32 64 94 73 65 57 45 35 23 ];
assert(isequal(sort_mid(x),y_correct))
|
381 Solvers
Make one big string out of two smaller strings
1148 Solvers
Generate binary combinations for a given number of bit(s)
69 Solvers
102 Solvers
Find the position of first minimum value in an integer array with numbers
116 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!