Adobe Interview Question

Find the distance between 2 given nodes in a Binary Tree.

Interview Answer

Anonymous

Jul 30, 2024

Used Common Ancestor logic