Function to find the root of the smallest subtree consisting of all deepest nodes
def find_node ( root ) : NEW_LINE INDENT global req_node NEW_LINE if ( not root ) : NEW_LINE INDENT return NEW_LINE DEDENT DEDENT