Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rwz
on March 23, 2019
|
parent
|
context
|
favorite
| on:
Calculating the mean of a list of numbers (2016)
That produces an unavoidable special case when the number of elements in the list is a prime number.
bhl
on March 24, 2019
[–]
Just pad the end of the list with 0s, but keep the original size of the list.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: