Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s='I saw Count Dracula with red light of triumph in his eyes';
y_correct = 7;
assert(isequal(Longest(s),y_correct))
result =
7
|
2 | Pass |
s='1111 5555555 3333333333 000';
y_correct = 10;
assert(isequal(Longest(s),y_correct))
result =
10
|
3 | Pass |
s='!!! 88 he was s00000 old 000';
y_correct = 6;
assert(isequal(Longest(s),y_correct))
result =
6
|
Sort a list of complex numbers based on far they are from the origin.
3794 Solvers
616 Solvers
Back to basics 12 - Input Arguments
467 Solvers
243 Solvers
196 Solvers