Being able to quickly come up with an efficient algorithm to a complex problem is not a "pointless brainteaser".
Being able to quickly invert a binary tree and that kind of nonsense belongs in library code (at best). It's not something that the average developer should ever need to worry about the actual implementation of, let alone have to implement from scratch in under 30 minutes.