Ломать (себе) голову
Ломать (себе) голову
[lomat` (sebe) golovu]
- to beat one's brains about something
What it means:
to ponder something, to try to dig down to something.