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 = 123;
y_correct = 321;
assert(isequal(reverse_n(x),y_correct));
a =
'123'
b =
'321'
y =
321
|
2 | Pass |
x = 96721;
y_correct = 12769;
assert(isequal(reverse_n(x),y_correct));
a =
'96721'
b =
'12769'
y =
12769
|
5168 Solvers
747 Solvers
Check if number exists in vector
2307 Solvers
Calculate the derivative of a polynomial
139 Solvers
178 Solvers