True - but too many of these problem tasks one hears about are so stupid that it casts doubt on the technique. I would much rather be asked to tackle a real world problem (in code or as a spoken exercise) Indeed, being asked to solve silly riddles would persuade me to drop a job application. I would class such things alongside graphology and lie detector tests as strong counter indicators.