The test cases are too trivial. E.g. 2000 was a leap year, but 1900 or 1800 was not... (At least after the Gregorian calendar reform)
The test cases are to trivial. ;-)
more tests needed
Nice & simple - I like it!
Make the vector [1 2 3 4 5 6 7 8 9 10]
35617 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3630 Solvers
376 Solvers
07 - Common functions and indexing 4
319 Solvers
Matlab Basics - Set unwanted parts of a vector to zero
197 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!