The two interviews I strongly recall for this reason are in no particular order - after being advised to dress smart for an interview at a broadcast tech manufacturer in the UK ... we get most of the way through the interview before the interviewer whips out an email from a developer upstairs and asks if I can solve a half written SQL query, then point to what’s wrong with a block of Java code - it was for a senior broadcast engineering role - and I just wasn’t expecting it.
I mustered all my confidence and gave a wrong answer - with the caveat that I wasn’t expecting the question; I did definitely know the answer and I’d definitely be able to do better next time they asked... the interviewer’s honest response was ‘oh - we don’t know the answer - we just wanted to see what you’d do and if you would be a good fit’
I ended up working there for 12 years and having a great time.
By contrast - interviewing for a major player in the bug tracker and wiki world - I was called in for an immediate interview a week after fairly major eye surgery - and they wouldn’t take ‘can we reschedule’ for an answer.
The interviewer was seriously pissed off when I told her I couldn’t see the whiteboard where they were administering the test described above - and I was asked to solve it anyway.
Suffice to say I’m still bitter about it - and even though I asked to reinterview, never had a response back.