Another one of those "Aha" interview questions: Long-running averages | Hacker News Reader