Re:Python 3.4.0 released
by ajanuary on Monday March 17, 2014 @02:03PM
(#7416820)
Tangential observation: most implementations of quickselect to find the median I've seen use 6N comparisons in the average case; for an even length list they select the middle values using two independent quickselects. The code to do it in a single quickselect gets hairy quite quickly.
[ Parent
| on HN ]
There are no comments on this comment yet.