The algorithm for a perfectly balanced photo gallery512 points by jtreitzRead the articleDiscussion on Hacker News