se creuser les méninges

Verb

 * 1)  to rack one's brain, to cudgel one's brain