I need the pseudocode for a C++ that will search through a tree to find the node with the value of “z”.
the function is given the root node to the tree to begin with. The tree has the property where each node has at most two children nodes. Each node has 3 properties: left child, right child, and value.