Find a Least Comman ancestor in BST

For given node key values a find LCA.Both recursive and iterative
solution .