Y
Hacker News
new
|
ask
|
show
|
jobs
by
rwz
2640 days ago
That produces an unavoidable special case when the number of elements in the list is a prime number.
1 comments
bhl
2640 days ago
Just pad the end of the list with 0s, but keep the original size of the list.
link