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.
Yes. I totally agree with you on these two points. In such same reason, there is no need for stating that the left node of the first edge as the root in the description. This kind of narrative easily leads to misunderstanding that the edges provided in a tree convention parent-->child
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Cut the Tree
You are viewing a single comment's thread. Return to all comments →
Yes. I totally agree with you on these two points. In such same reason, there is no need for stating that the left node of the first edge as the root in the description. This kind of narrative easily leads to misunderstanding that the edges provided in a tree convention parent-->child