wā​kōng​xīn​si

to rack one's brains