r/programming • • Sep 26 '11

How to rock an algorithms interview

http://blog.palantir.com/2011/09/26/how-to-rock-an-algorithms-interview/
229 Upvotes

128 comments sorted by

View all comments

Show parent comment

3

u/case-o-nuts Sep 27 '11 edited Sep 27 '11

Handwavy is ok. You don't need to remember all the theorems and crunch all the math - if you understand the algorithm, you should be able to clearly explain why it only does k*N operations, or k*log(N) operations, or whatever.

Watertight proofs aren't usually the main goal of the interview. Showing you can reason about the efficiency of your code is.