dān​jīng​jié​lǜ

to rack one's brains