Interview Questions

Tree successor

Given binary search tree and node in a tree, find next node (successor). Successor of a node is the next node in inorder traversal of the Binary Tree.

View Solution
comments powered by Disqus