This is (more or less) cribbed from the USC contest winner's solution.
Very fast and very compact solution. Nice usage of complex to calculate distance between points and recursion.
Find relatively common elements in matrix rows
2 b | ~ 2 b
Find the biggest empty box
Community Problem 500!
Remove NaNs and numbers adjacent to NaNs
GJam 2013 Veterans: Ocean View (Large)
QWERTY Shift Code Decoder
Vine Contest 1-D Case Optimization: Board 78
Maximize Non-Co-Planar Points in an N-Cube
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office