Saturday, December 10, 2011
Construct a BST where each node has 3 pointers instead of 2. the structure is struct node { int data; struct node *left; struct node *right; struct node *inordersuccessor; } write a code to add nodes in a binary search tree . inordersuccessor pointing to inorder successor.
Labels:Data
Amazon Interview
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment