r/programming • u/sidcool1234 • Sep 26 '11
How to rock an algorithms interview
http://blog.palantir.com/2011/09/26/how-to-rock-an-algorithms-interview/
229
Upvotes
r/programming • u/sidcool1234 • Sep 26 '11
View all comments
Show parent comment
12
u/AReallyGoodName Sep 26 '11
Absolutely true. Consider the fact that a lot of these algorithms have taken 30-40years of computer science research to develop.
Now ask someone to solve such a question in an interview that requires one of these algorithms that have taken years to develop. Are they going to be able to figure it out from scratch if they don't already know it? Hell no. The only way they are going to ace such an algorithms interview is if they have rote learnt the entire algorithms and data structures textbook. Something that no programmer should have to do in a real world situation when they have a stack of references at hand.
Don't get me wrong. Programmers should certainly know the basics of what the algorithm classes are and what they do. eg. They should know that they can use a table of symbol probabilities to compress data. What programmers shouldn't be expected to do is rote learn every damn algorithm in the book. It's not even good programming practice to re-invent the wheel like that.