Problem 53. Duplicates
Why not just an isequal(correct,result) in the tests?
Consequently, a lot of solutions leave duplicates in the result.
How should higher multiplets be treated?
Useful function => unique, countcats, categorical
ah, i didn't realize that you could leave duplicates in the final result and still have it pass the test cases; nicely done
This is indeed a very good solution!
There should probably be a test to detect this.
Problem Recent Solvers1870
Convert a numerical matrix into a cell array of strings
Calculate the area of a triangle between three points
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!