You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[235. Lowest Common Ancestor of a Binary Search Tree](https://github.com/Seanforfun/Algorithm-and-Leetcode/blob/master/leetcode/235.%20Lowest%20Common%20Ancestor%20of%20a%20Binary%20Search%20Tree.md)
415
+
416
+
[236. Lowest Common Ancestor of a Binary Tree](https://github.com/Seanforfun/Algorithm-and-Leetcode/blob/master/leetcode/236.%20Lowest%20Common%20Ancestor%20of%20a%20Binary%20Tree.md)
417
+
414
418
## Algorithm(4th_Edition)
415
419
Reading notes of book Algorithm(4th Algorithm),ISBN: 9787115293800.
416
420
All java realization codes are placed in different packages.
2. Different from the previous method, we can use the property of BST and check isChild by just comparing the value, and even can check if current node is in left or right child node of current node.
0 commit comments