Max_ref is used for passing the maximum value up the tree and min_ptr is used for passing minimum value up the tree. C C Java Python C . C ..We may find a node with is larger data than key value in left subtree, if not the root itself will be ceil node. Here is the code for ceil value. C C Java Python C .Keys larger than E key. A. C. E. H. R. S. X. . Anatomy of a binary search tree go right if null, insert. . Binary search tree demo. X. R. A. C. H. E. S. M insert G. G .