Yeah, these are pretty popular interview questions and I have written the article about LCA in Binary tree here and BST here. Will add them to Online Judge soon, thanks!