This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'Help';
y_correct = 'eHpl';
assert(isequal(reverse_within_string(x),y_correct))
x =
eHlp
x =
eHpl
|
2 | Pass |
%%
x = 'between';
y_correct = 'tebwnee';
assert(isequal(reverse_within_string(x),y_correct))
x =
tebween
x =
tebwnee
|
3895 Solvers
6283 Solvers
651 Solvers
Get the length of a given vector
3568 Solvers
463 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!