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.
Maybe it needs to add detail about tree representation, i.e. that at any level left subtree never can overlap right subtree and vice versa.
In the beginning I was confused - what is expected in following cases:
Tree : Top View
You are viewing a single comment's thread. Return to all comments →
Maybe it needs to add detail about tree representation, i.e. that at any level left subtree never can overlap right subtree and vice versa. In the beginning I was confused - what is expected in following cases:
Expected: 4-2-1-3-7 ? In fact - 4-2-1-3.
Expected: 8-4-2-1-3 ? In fact - 4-2-1-3, again.