This is cheating.
it's not, this is a direct and clever solution to the specified problem which would not work for other arbitrary Cody problems, hence not cheating (in my book)
3254 Solvers
Find relatively common elements in matrix rows
873 Solvers
151 Solvers
4561 Solvers
425 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!