BST to greater sum tree | Transform BST to greater sum tree, node = sum of all nodes greater than it
HTML-код
- Опубликовано: 16 сен 2024
- Use coupon ALISHA on any GeeksforGeeks course to get 10% discount:
practice.geeks...
Connect with me on LinkedIn : / alisha-parveen-80579850
Check out our other playlists:
Dynamic Programming:
• Dynamic Programming
Trees:
• Trees
Heaps and Maps:
• Heaps and Maps
Arrays and Maths:
• Arrays and Maths
Bit Manipulation:
• Bit Manipulation
Greedy Algorithms:
• Greedy Algorithms
Sorting and Searching:
• Sorting and Searching
Strings:
• Strings
Linked Lists:
• Linked Lists
Stack and Queues:
• Stacks and Queues
Two Pointers:
• Two pointers
Graphs, BFS, DFS:
• Graphs, DFS, BFS
Backtracking:
• Backtracking
Non- DSA playlists:
Probability:
• Probability
SQL-Basic Join functions:
• SQL - Basic JOIN Funct...
SQL-Basic Aggregate functions:
• SQL-Basic Aggregate Fu...
if(!root)return;
transformTree(root->right);
int copy = root->data;
root->data = sum;
sum+=copy;
transformTree(root->left)
mam the level of patience you have while explaining this problem is just great
Buddy, Your level of patience in explaining the logic for an entire tree is great. Thanks a lot for all your efforts..
Awesome, thanks for the explanation.
completed playlist as an extra question...Thank you
ty, you r best ;)
Wowww, just wowww
Such a Good Explanation...Thankyou 👍 👏
Good explanation!
Love uhh Mam ❤️
Thanks alisha nice explanations
Hi sis, how is work life balance there?
Thanks Alisha.
big fan mam big fan
nicee
Obviously, you seem to be in a great hurry. Why don't you slow down a bit ?)
Whattt??? I just saw your channel first time, and here is my first impression - I don't get your video at all.. although I have just started with coding, still didn't get the thing that why have you started your video without any context, means for what purpose you are making it...It feels to be kinda very strange to me that a random girl just threw a video related to some coding stuff, speaks too fast, that i can't able to understand what's this video for.
U need to have prior knowledge about data structure she is making us understand the approach to solve the problem
you should first know about BST. What she explained was a medium level question and it requires an ample amount of practice before you understand. and get the gist of it.
itna fast kyu jarahe ho thoda slow kuch nahi samjh raha'
is it python ?
P𝐫O𝕞O𝓢m 🍀
Madam u r so fast
Mam. Marry me..u go to work and I will sit in home counting youtbe views of this channel❤️
Atleast u should have some influence of having the I'd name of someone who has worked so hard🤣