Language:
Free Online Dictionary|3Dict

竭智盡慮

Source : CEDICT

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