Nice!
It's a shock that I didn't know such a function existed
Better than all previous non-cheat solutions :-)
You might wanna check it again ;)
The function 'unique' should probably also be prohibited.
Strictly following the problem statement, this should pass?
This also does the trick :)
1428 Solvers
Given a window, how many subsets of a vector sum positive
753 Solvers
07 - Common functions and indexing 2
328 Solvers
261 Solvers
2743 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!