Language:
Free Online Dictionary|3Dict

竭智尽虑

Source : CEDICT

to devote one's mental resources to the full (idiom)