improve test suit
This solution only works for vectors that are already sorted from low to high :) but it passed the test suite
This works in R2012b, but not on cody
function ans = duplicate(x)
[x;x];
x(:)';
end
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
Get the area codes from a list of phone numbers
532 Solvers
192 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
Returning a "greater than" vector
188 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!