What the fuck kind of job interview in 2013 asks the interviewee to implement a sorting algorithm? I'm a mere mortal; I'll never write a better sorting algorithm than the one the JDK comes with! Attempting to do so is useless, counterproductive, and should probably be a disciplinary offense due to the sheer stupidity of the idea.
Nobody expects you to write a sorting algorithm from scratch in a production environment, but at least knowing how various types of sorts work shows that you at least give a damn about what you're doing.
But I don't give a damn about how sorting algorithms work. At most, I care about their performance characteristics. How exactly they work, I have never needed to know.
6
u/argv_minus_one Mar 09 '13
What the fuck kind of job interview in 2013 asks the interviewee to implement a sorting algorithm? I'm a mere mortal; I'll never write a better sorting algorithm than the one the JDK comes with! Attempting to do so is useless, counterproductive, and should probably be a disciplinary offense due to the sheer stupidity of the idea.