sōu​cháng​guā​dù

to rack one's brains