beat your brains out
US /biːt jʊər breɪnz aʊt/
UK /biːt jʊər breɪnz aʊt/

1.
łamać sobie głowę, rozbijać sobie głowę
to think very hard about a problem or question, often without success
:
•
I've been beating my brains out trying to solve this puzzle all day.
Cały dzień łamałem sobie głowę, próbując rozwiązać tę zagadkę.
•
Don't beat your brains out over it; let's just ask for help.
Nie łamać sobie głowy nad tym; po prostu poprośmy o pomoc.