Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: algorithm to slice a number into parts. Parent comment
In that case, [1, 2, 3, ... m - 1, n - m*(m-1)/2] is a trivial solution.
There are no comments on this comment yet.
In that case, [1, 2, 3, ... m - 1, n - m*(m-1)/2] is a trivial solution.