logoalt Hacker News

recursivelast Tuesday at 5:20 PM1 replyview on HN

What? The algorithm is completely symmetrical with respect to smallest or largest, and fully correct and general. I don't understand the problem with unique values. Could you provide a minimal input demonstrating the issue?


Replies

Akronymuslast Tuesday at 5:23 PM

I cant because I completely misread the wiki article before commenting and have now read it more carefully and realized I was wrong. Specifically I went in thinking about top 3 most common value.