What is a Binary Search Tree?
Loading...
1,751
Loading...
Uploader Comments (unacademy)
see all
All Comments (8)
-
A post on Binary Search Tree on Code 2 Learn(code2learn[dot]com).
-
@amarbir22 A post on Binary Search Tree on Code 2 learn
Loading...
why don't use a pp pèresentation instead of writing on a tab?
MsDawdawdaw 2 months ago
@MsDawdawdaw Thanks for the suggestion.
unacademy 1 month ago
Can the node with key 5 can be replaced by 1?
I mean the subtree (7 Parent,5 left child,8 right child ) will satisfy the conditions of BST right ?
amarbir22 3 months ago
@amarbir22 But the root 2 is greater than 1 right? So if we do what you are saying then as a whole it will not satisfy the condition. But yeah if we just look at the subtree then you are right but only if we consider the tree as the subtree which you are talking about.
unacademy 1 month ago
Informative.
were you recording this next to a freeway ? there is like so much noise from the passing traffic :(
amarbir22 3 months ago
@amarbir22 We will surely take care next time. Thanks for pointing it out.
unacademy 1 month ago