Evaluate Nested Function Call Expression
Given a string representing nested function calls, compute its final integer value.
Support five binary functions: add(a,b), sub(a,b), mul(a,b), div(a,b), pow(a,b). Each argument is either ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
