Wiktionary
beat one's brain
alt. (context idiomatic English) To struggle to think or remember something vb. (context idiomatic English) To struggle to think or remember something