John Foust wrote:
At 09:33 AM 4/3/2006, Jim Battle wrote:
If they get it right, is it because they've
heard it before or because they a
re clever? If they get it wrong, does it mean
that they aren't smart? I've a
lso found in most situations there isn't an oversupply of applicants. Tossing
them out based on a trick question is capricious.
If interviewers are deciding on candidates based on the "right" or
"wrong" answer than you should be happy if they don't offer you a job,
you don't want to work there.
The point of asking those sorts of questions is not the answer. It's to
watch how the person approaches the problem. Any answer (right or
wrong) is a bonus, but it's not required. Not everyone "tests" well.
I, personally, would be been delighted with the "counter hits max value"
solution to the looping list problem. I liked that one :-) Sometimes
brute force is the right thing.
Interviewing is somewhat of an art, but good techniques can be taught.
And they *do* work - trust me - I have a lot of proof.
If you get into an interview and people jerk you around and waste your
time, be grateful - they are helping you decide you don't want to work
there!
-brad