Language:
Free Online Dictionary|3Dict

费尽心机

Source : CEDICT

to rack one's brains (idiom); to take great pains to think sth through