I take some time and struggle through this classic coding challenge. Go figure, it can take O(n^2) with the right setup. Can you figure out a way to do it in less time?
No download links available.