Given postorder of a binary tree and a nodepath.find in how many root-to-leaf paths does the nodepath lie. If postorder traversal is txyCabDBA small letters are leaf nodes and capital are root or intermediate nodes.find if AD lie in how many paths.
↧