The algorithm for a perfectly balanced photo gallery

512 points by jtreitz

Read the article

Discussion on Hacker News