Did you mean brainteaser?
brainteaser
noun
°A difficult problem or puzzle.