Closed 48cfu closed 4 years ago
The function lca returns a pointer to the lowest common ancestor node of the two values given.
Reference: https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor/problem
The function lca returns a pointer to the lowest common ancestor node of the two values given.
Reference: https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor/problem