to beat one's brains out
01
to try one's best in order to solve a problem or to understand it
أمثلة
She beat her brains out studying for the exam, but it was just too difficult.
to try one's best in order to solve a problem or to understand it