Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Boxer
on May 6, 2009
|
parent
|
context
|
favorite
| on:
The Britney Spears Problem
Let average-so-far=a, count=c. When you add a new item x, the new average is: a = a + (x-a)/(c+1)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: