Hacker News new | ask | show | jobs
by tempestn 829 days ago
Or in one step, by combining them from smallest to largest, combining and carrying as you go.