Pergunta de entrevista da empresa Reward360

If you have an equation as a String then write a program to open all brackets and return the simplified string. For example a-(b-c) would become a-b+c. There were revisions to this problem to make it complex.