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 :)
3378 Solvers
352 Solvers
445 Solvers
Flip the vector from right to left
2677 Solvers
177 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!