Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = round((1+rand)*10)/10;
tic; your_fcn_name(x); your_time=toc
y_correct = x;
assert(isequal(your_fcn_name(x),y_correct))
assert(your_time>x/2)
your_time =
0.0011
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
829 Solvers
626 Solvers
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Back to basics 25 - Valid variable names
293 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!