2 ms·
You would only need one special case: if a list (top level or not) has 2n+1 numbers, weight the last one differently.
by _bxg1 8y ago
You would only need one special case: if a list (top level or not) has 2n+1 numbers, weight the last one differently.