Closest Node to Path in Tree
Closest Node to Path in Tree asks you to answer each query with the node on its start-to-end path closest to a target, breaking ties by smallest index.
We'll cover the following...
We'll cover the following...
Statement
You are given a positive integer, n, representing the number of nodes in a tree, numbered from