All problems
› LCA problems
LCA problems
6 LCA DSA practice problems on CampusCode, each with statement, examples and constraints.
863. Find Lowest Common Ancestor (LCA)
Easy
Trees
864. Find Distance Between Two Nodes
Easy
Trees
889. Lowest Common Ancestor in BST
Easy
Trees
959. Lowest Common Ancestor Using Binary Lifting
Hard
Trees
960. LCA + Distance Queries on a Tree
Hard
Trees
1392. Shortest Path in Binary Tree via XOR
Hard
Bit Manipulation