I actually adhere to this philosophy when hiring candidates as well. Rather than having them explain how to reverse binary trees on a whiteboard, I have them sit down and do a mini version of the actual task they will have to do in their job later. And, unsurprisingly, knowing how well they do the actual task is a much better indicator of how well they perform at doing the actual task later.