We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Please update the problem statement to be more descriptive.
At this stage, it is not clear as to what this statement means :
"a tree with N nodes"
1. is it a tree with total number of nodes = n ?
2. is it a tree with height = n ?
3. is it a tree with number of child nodes of each node = n ?
,
and this: "path from u to v", and "edges of the tree"
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Heavy Light 2 White Falcon
You are viewing a single comment's thread. Return to all comments →
Please update the problem statement to be more descriptive. At this stage, it is not clear as to what this statement means : "a tree with N nodes" 1. is it a tree with total number of nodes = n ? 2. is it a tree with height = n ? 3. is it a tree with number of child nodes of each node = n ? , and this: "path from u to v", and "edges of the tree"