Given a binary tree node and root node, get the parent node of that node.The solution checks if the children nodes equal the given value.If a match is found, the corresponding parent node is returned.The process is done recursively on the left and right child nodes.