successor.BST {Containers}R Documentation

Get the In-Order Successor of an Element of a Binary Search Tree

Description

This method returns the in-order successor of the target element.

Details

after = aBST$successor(target)

Value

successor returns the in-order successor of the target element of the BST, or NULL if the target has no successor.

Author(s)

John Hughes


[Package Containers version 1.2 Index]