This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s = 'Easy';
b = ones(1,4);
y_correct = {'E','a','s','y'};
assert(isequal(break_string(s,b),y_correct))
s = 'I seem to be having tremendous difficulty with my lifestyle';
b = [4 1 5 22];
y_correct = {'I se','e','m to ','be having tremendous d'};
assert(isequal(break_string(s,b),y_correct))
|
1836 Solvers
123 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3617 Solvers
373 Solvers
Find out sum and carry of Binary adder
379 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!