Link to webpage: www.srcmake.co...
In this video we go over two related interview questions: Finding the Lowest Common Ancestor in a Binary Search Tree, and Finding The Lowest Common Ancestor in a Binary Tree.
We go over the iterative and recursive solutions, and then run the code in Leetcode to make sure it works. We also go over the time/space complexities.
Twitter: / srcmake
Twitch: / srcmake
Discord: / discord
26 авг 2024