4 ms·
If you can't study to reverse a linked list efficiently... You're gonna have a bad time... I ask 'reverse a linked list' when the interview is going so poorly
by cheeze 10y ago
If you can't study to reverse a linked list efficiently... You're gonna have a bad time...
I ask 'reverse a linked list' when the interview is going so poorly that there is no chance the candidate will be able to answer my 'normal' questions.
- joeletizia 10y agoI think that's kind of the point. If you have to study for an interview, the interview is most likely not representative of real work one would find on the job. Let's face it. "Big Co" interviewing is about passing an arbitrary bar that they have set. It's not representative of the actual work post hire.
- pavement 10y agoFunny, because whenever I get asked questions like that, I just start nesting for loops to an arbitrary depth, until that trolls my way out of the interview. Then I wrap the outer-most closure in an exception that swallows the error, and bid good afternoon.