Xcalar Interview Question

given a string, such as "(3*(5-4))+((-6)/2)". how to calculate it?