Puzzles are the big part of the interview process especially for the person who is going to QA, SDET, Developer or programmer positions.
Puzzles are to test out software engineer's analytics and logical thinking ability. It's not a hard and fast rule to ask the puzzles...
Cracking The Puzzle Code - Top Puzzles Asked During Interviews
