Wiktionary
rack one's brains
vb. (alternative form of rack one's brain English)
Usage examples of "rack one's brains".
Not that there's any need to rack one's brains over the meaning of M.