What is the meaning of Do_the_trick?

To work; to be successful; to solve a problem; to be sufficient or adequate to fulfill a purpose.

Source: wiktionary.org