The algorithm for a perfectly balanced photo gallery | Hacker News Reader