Cutting Stock Problem 1D | Hacker News Reader