Y
Hacker News
new
|
ask
|
show
|
jobs
by
_bxg1
2646 days ago
You would only need one special case: if a list (top level or not) has 2n+1 numbers, weight the last one differently.