brainteaser

/ˈbɹeɪnˌtizɚ/noun
RareNot in standard dictionaries
1

A problem or puzzle devised to exercise the brain and mind.

2

Any difficult problem or puzzle.

#informal