Live data from Hacker News

A software engineering interview question I like: computing the median

krisshamloo.com

1–10 of 97 posts

Re: A software engineering interview question I like: computing the median

#5
post #2

In addition to the points listed, it gives the algorithm nerds the opportunity to show their overqualification by whipping out the O(n) median algorithm and proving that it works in linear time.

I almost tanked an interview, and luckily turned it around, when the interviewer had never heard of QuickSelect and thought I was insane when I started writing it.
Post reply on HN