@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.
A post on Binary Search Tree on Code 2 Learn(code2learn[dot]com).
gunnerbybirth 1 month ago in playlist Uploaded videos
why don't use a pp pèresentation instead of writing on a tab?
MsDawdawdaw 1 month 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 2 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 2 months ago
@amarbir22 We will surely take care next time. Thanks for pointing it out.
unacademy 1 month ago
@amarbir22 A post on Binary Search Tree on Code 2 learn
gunnerbybirth 1 month ago in playlist Uploaded videos