You left off the most important part: trying to think while someone is watching, sniffing and fidgeting and making misleading suggestions. I can’t think with someone looking over my shoulder.
And the questions. I haven’t worked with a linked list in 20 years and the only time I’ve worked with binary trees is in interviews. When I develop algorithms it’s over hours or days and away from the computer.
And “can you make it run faster?” Yeah I probably could but I’m not going to because it’s fast enough now and it’s stable. I don’t do speed optimization except where it matters, which is in maybe 1% of the code. I optimize at the design level, not at the code level.
Some liar can get to an interview but someone with 30 years experience doesn’t need to prove he can code.
So, no, I am not going to the whiteboard.