beat one's brain

Verb

 * 1)  To struggle to think or remember something.