cudgel one's brain

Verb

 * 1)  to think hard and try to remember something.