bah, my lack of knowledge of probability fails me again
A very interesting probability problem applicable across a lot of areas underlies the solution. It isn't obvious at first glance. The solution is fairly short, but it takes a lot of thought to get it. I can't wait to see the length 14 solution!
ironic solution ftw!
I should have known! :) Next problem is, how many times can you expect to submit that solution! :)
OK. You've gamed the solution. The author shouldn't have to beef up the test suite to prevent this sort of solution.
291 Solvers
727 Solvers
186 Solvers
178 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
300 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!