< Previous Next > 1740. Find Distance in a Binary Tree (Medium) Related Topics [Tree] [Depth-First Search] [Breadth-First Search] [Hash Table] [Binary Tree] Hints Hint 1 Get the LCA of p and q. Hint 2 The answer is the sum of distances between p-LCA and q-LCA