Part of the issue is that there is no real standard to these interviews and the interviewers can have widely varying expectations at times. I once failed a technical interview on a coding question, not because I did not give them the optimized answer (I did and the interviewer even acknowledged it) but because they wanted a one liner rather than a full explanation of the algorithm. I guess I should have known to ask them about that before diving deep? But to be honest, I have never had an interviewer want the 'one liner' answer to one of these DSA questions before. In the end I was rejected and lost 4 hours of my time to their elongated interview process.
sidibe|2 years ago
RhysabOweyn|1 year ago