A good opportunity to implement a hashtable: lots of collisions without it.
A re-post of Solution 1137054, because that one doesn't appear in the list of solutions, for some reason (I'm not sure why).
6065 Solvers
829 Solvers
Smallest distance between a point and a rectangle
81 Solvers
277 Solvers
Spot the First Occurrence of 5
365 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!