Test Suite has been corrected to NOT allow a vector Input to fill ALL with 2s.
Thank You for identifying this and also that invalid input would Win.
Make a run-length companion vector
512 Solvers
Given a window, how many subsets of a vector sum positive
743 Solvers
Basics: 'Find the eigenvalues of given matrix
323 Solvers
123 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
298 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!