To struggle mightily; to fight against difficulties with great effort (a four-character idiom often used as a suru-verb).
新人エンジニアは問題の解決に悪戦苦闘している。
The new engineer is struggling hard to solve the problem.
資金繰りの悪化に対して会社は悪戦苦闘の末、再建を果たした。
After a hard struggle against worsening finances, the company managed to rebuild.
彼女は試験に合格するために悪戦苦闘したが、最後は成功した。
She struggled hard to pass the exam, but in the end succeeded.