Send the following on WhatsApp
Continue to ChatGive an algorithm to find the LCA(Least Common Ancestor) of two nodes in a Binary tree. https://studyalgorithms.com/tree/give-an-algorithm-to-find-the-lcaleast-common-ancestor-of-two-nodes-in-a-binary-tree/