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.
Some of the tests are wrong. The following tree is binary search. But it says that it's not. Thank u for wasting my time :(
data 3
data left 2
data right 6
data 2
data left 1
data right 4
data 1
data 4
data 6
data left 5
data right 7
data 5
data 7
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
Some of the tests are wrong. The following tree is binary search. But it says that it's not. Thank u for wasting my time :( data 3 data left 2 data right 6 data 2 data left 1 data right 4 data 1 data 4 data 6 data left 5 data right 7 data 5 data 7