You are given a positive integer, n, representing the number of nodes in a tree, numbered from 0 to n−1. You are also given a 2D integer array edges of length n−1, where edges[i] =[ui,vi] indicates that there is a bidirectional edge connecting nodes ui and vi.
You are also given a 2D integer array query of length m, where query[i] =[starti,endi,nodei].
For each query i, find the node on the path between starti and end ...