Puzzles in interviews are worthless unless the potential job involves doing those same kind of puzzles. If you want to see how someone's mind works, you could, say, talk through solving a real-world problem as if you were pair-programming. But don't use puzzles are brain-teasers. They don't tell you anything practical.