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))
|
2 | Pass |
%%
x = 'between';
y_correct = 'tebwnee';
assert(isequal(reverse_within_string(x),y_correct))
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
309 Solvers
746 Solvers
412 Solvers
125 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!