I just came across this 2015 tweet by Max Howell, the creator of homebrew:
So, the question is do you agree with companies that do a whiteboard test during interviews? Some agree and some disagree. People who agree with this philosophy often argue that if you can do it in code, why not on whiteboard? Others who disagree argue that in your day to day work you will probably never have to invert a binary tree.
I believe interviewers should first assess if it's really important to possess such knowledge in algorithms to work for their company. If the answer is no, I don't see the point of whiteboard test.
What do you think?