Optimizing an Algorithm That's Quadratic by Design · HackerLangs