Parse Prefix Operations to BT
Given a prefix polish notation, convert to a binary tree. Recursion All numbers must be leaf node, so when see a number, create a node and return. For an operator, recursively build left and right subtree while keep advancing the index on string. This file contains bidirectional Unicode text that may be interpreted or compiled […]