3 ms·
I think that lying to a candidate is unethical and unfair. You can get similar results without crossing that line by asking questions like "can this be made fa
by pklausler 11y ago
I think that lying to a candidate is unethical and unfair.
You can get similar results without crossing that line by asking questions like "can this be made faster?" and "is this correct?", soliciting proofs of lower bounds on asymptotic complexity and loop invariants (respectively). But you shouldn't tell a candidate that their code is broken when it isn't. Interviewing is stressful and scary -- don't make it worse just because you can.
- copperx 11y ago> soliciting proofs of lower bounds on asymptotic complexity A mathematical proof on the lower bound? is that a common request and something I should prepare for in an interview?
- pklausler 11y agoIf I ask you whether your sort can be made faster, and you can make a credible case that it's O(n log n), so no, I'm happy.