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.
n[m] = n - m.(m-1)/2
This is still fairly trivial.
I sense there are yet more requirements you're not telling us.
There are no comments on this comment yet.
n[m] = n - m.(m-1)/2
This is still fairly trivial.
I sense there are yet more requirements you're not telling us.