parameters: ()
docstring: operational function
docstring_summary: operational function
docstring_tokens: operational function
function: def main():
      """ operational function """
      root = Node(2)
      root.left = Node(7)
      root.left.left = Node(21)
      root.left.right = Node(6)
      root.left.right.left = Node(5)
      root.left.right.right = Node(11)
      root.right = Node(5)
      root.right.right = Node(9)
      root.right.right.left = Node(4)
      root.right.right.left.right = Node(40)
      root.right.right.left.right.right = Node(46)
  
      lca_node = lowest_common_ancestor(root, 21, 11)
      print("lowest_common_ancestor for 21 and 11:", lca_node.data)
function_tokens: def main ( ) : root = Node ( 2 ) root . left = Node ( 7 ) root . left . left = Node ( 21 ) root . left . right = Node ( 6 ) root . left . right . left = Node ( 5 ) root . left . right . right = Node ( 11 ) root . right = Node ( 5 ) root . right . right = Node ( 9 ) root . right . right . left = Node ( 4 ) root . right . right . left . right = Node ( 40 ) root . right . right . left . right . right = Node ( 46 ) lca_node = lowest_common_ancestor ( root , 21 , 11 ) print ( "lowest_common_ancestor for 21 and 11:" , lca_node . data )