People think that computer science is the art of geniuses but the actual reality is the opposite, just many people doing things that build on each other, like a wall of mini stones. Donald Knuth

Find deepest common ancestor in BST

Language Java | Level Intermediate | Category Data structure | September 8, 2015 8:43 am

Data structure Description

Write a program to find a deepest common ancestor in Binary Search Tree.



All Binary Tree Values: 4  8  10  12  14  20  22  
Deepest Common Ancestor of 10 and 22: 20



No comments available!

Please login to add comments.