苦思冥想

míngxiǎng
(idiom) to think deeply; to rack one's brains

CEDICT

to think long and hard

Wiktionary

尽心思索想像

維基詞典

Entry Composition