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...
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.
but I liked your fix for the ans trick, I wish that was part of the standard cody scoring!
Calculate the Hamming distance between two strings
180 Solvers
910 Solvers
Mirror Image matrix across anti-diagonal
113 Solvers
133 Solvers
1081 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!