Chinese words · Chengyu

冥思苦想

míngsī-kúxiǎng

to rack one's brains

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