May 17th, 2004, 12:08 pm
I suggest you make a hurried excuse and head for the exit.That is a valid solution, though not always optimal.Amongst the problems in interviewing is the need to get a high discrimination index in your questions, as well as the need to have problems that have a finite small number or solutions.It is far from unknown for the interviewer to know little or no C++, and be working from a crib sheet. Yes, really, I'm been interviewed that way, and have myself set this sort of problem sheet.A reasonable question is "how do you avoid memory leaks". However the set of answers is vast, I have on my shelf a 400 page book on just the garbage collection issues in memory. This leads to the appalling situation where a smart guy answers with a better method than that on the crib sheet, but gets marked down.