Chinese words · Chengyu

挖空心思

wākōng-xīnsī

to rack one's brains

Meanings from our own dictionary. Chengyu from the Xinhua idiom list, the most common first.