Friday, February 3, 2012
Given a function getInorderSuccessor which takes a BST (Binary Search Tree) as it's parameter. Every node has an extra pointer "next" , which is intialized to null, fill next with node pointers which represent Inorder Successor.
Labels:Data
Amazon Interview
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment