4 ms·
Nope, Median of Medians is an approximation.
by myrryr 11y ago
Nope, Median of Medians is an approximation.
- tamana 11y agoThe median-finding algorithm os exact. Reread the Wikipedia page more closely. MoM uses an approximate heuristic to guide the search for the exact median. The key is that the approximate has bounded error, and can be refined to exact in linear time.
- myrryr 11y agoHuh, I didn't get that from the Wiki article (it is a bit hard going), but... I found some other easier articles to follow on this. I stand corrected. Median of medians is freaking awesome :)
- justratsinacoat 11y ago>I found some other easier articles to follow on this Post them?