rack your brain
US /ræk jʊər breɪn/
UK /ræk jʊər breɪn/

1.
se creuser la tête, réfléchir intensément
to think very hard to remember something or to find a solution to a problem
:
•
I had to rack my brain to remember her name.
J'ai dû me creuser la tête pour me souvenir de son nom.
•
We've been racking our brains all day trying to solve this puzzle.
Nous nous sommes creusé la tête toute la journée pour résoudre cette énigme.