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.
the question is not clear for me. I don't understand why:
sample 1. why node 1 connect to one of node 4,6,7,8 is not an answer? why node 5 is picked?
sample 2. why need drew two lines? one should enough.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Black and White Tree
You are viewing a single comment's thread. Return to all comments →
the question is not clear for me. I don't understand why: sample 1. why node 1 connect to one of node 4,6,7,8 is not an answer? why node 5 is picked? sample 2. why need drew two lines? one should enough.