Finally, thanks to your comment, I understand the whiteboard interview. I couldn't for the life of me understand how hiring for software engineers was conducted in such a ridiculous manner (i.e. not anything like the job you are going to do), but like someone else said on here, it's a dance that proves your proficiency to learn technical concepts.