Except brainteasers are vulnerable to prior exposure. Once you've heard enough of them you have a bunch of tools at the ready for any others that use the same kinds of intuitive leaps -- and you may not even need to do that if you get asked ones you already know.
Just pretend you're really trying hard and voila, eventually spout the correct answer you appeared to have thought up on the spot.