4 ms·
That produces an unavoidable special case when the number of elements in the list is a prime number.
by rwz 8y ago
That produces an unavoidable special case when the number of elements in the list is a prime number.
- bhl 8y agoJust pad the end of the list with 0s, but keep the original size of the list.