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.
Back to basics 20 - singleton dimensions
255 Solvers
50 Solvers
Is the paranthesis sequence balanced ?
93 Solvers
74 Solvers
Text processing - Help Johnny write a letter home from camp
78 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!