Intuit Interview Question

given string in format "1+(5-3)" and calculate the answer.

Interview Answer

Anonymous

Apr 20, 2018

using point and traverse the string, calculate inside () first and then replace the section with the result.

1