iCIMS Interview Question

Parse a binary tree of math expression and calculate the final value based on the given/current tree node(parse subtree of a node).

Interview Answer

Anonymous

Aug 21, 2017

Recursion. It was required to implement a method withing the Tree class without taking parameter.

1