Problem 2735. Binary Neighbourhood
49.12% Correct | 50.88% Incorrect
Last Solution submitted on May 31, 2023
Alfonso Nieto-Castanon on 19 Jan 2015
one perhpas "unfair" issue with this scoring system is that it penalizes strings by their length (e.g. unique(...,'sorted') costs more points than unique(...,'rows')) which encourages attempting to avoid strings all together...
Jan Orwat on 19 Jan 2015
That's good point. Thanks for your involvement Alfonso. I will disable this feature. I thought it's right approach to count strings like that but your argument shows there are many exceptions, so... not a good idea.
Alfonso Nieto-Castanon on 23 Jan 2015
but I liked your fix for the ans trick, I wish that was part of the standard cody scoring!
Solution CommentsShow comments
Problem Recent Solvers72
Flip the main diagonal of a matrix
More from this Author40
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!