Amazon Interview Question

coding questions where to implement isParanthesized() method for and arithmetic expression..