This is a $65,536.00 question.
Keep in mind that:
a) once hired, you will be dealing with a team hired using these programming quizzes, in other words, people who value simple rituals instead of in-depth understanding
b) if the employment takes priority over quality of team, you must learn how to deal with mediocrity and incompetence. In fact, I suspect the main reason for these tests, especially those conducted on a whiteboard, is to gauge the candidate's ability to deal with idiotic assingments (i.e. can I offload the work I don't want to do on this guy?)
So perhaps, if you want to be employable, you should state upfront: I LOVE doing meaningless repetitive tasks that no one wants to do!