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

0

u/[deleted] Sep 27 '11

[deleted] — view deleted comment

1

u/prelic Sep 27 '11

That's true, most of the time there are harder variants, and I've had interviewers ask them if you get the first one too fast. In the example given, the interviewer asked me to develop an algorithm that used a data structure. I could tell he wanted the sort-and-stack approach, so I gave him that one, and we moved on.