This can be done without extra space given that we are allowed to modify the tree. Convert BST to sorted doubly linked list (via in order traversal) and then apply 2 sum.
@@AnujBhaiya collection framework in one video is very helpful but that topic(linkedlist ,stack ,queue fully basic) without collection framework .if you have time make video then ok . thank u bhaiya.
Hello bhaiya, i wanted to ask that if I learn Java from your java playlist from that 3 videos then will it be enough to apply for the java developer position?
This can be done without extra space given that we are allowed to modify the tree.
Convert BST to sorted doubly linked list (via in order traversal) and then apply 2 sum.
Thanks for this approach :)
Nice. But the conversion to DLL might take up stack space if done via recursion (although space will be less than O(n))
Great 👍
Must see for practicing questions!
Please complete this playlist fast
Bhaiyaa plz make playlist for all practice questions
Bhaiya... Please make a vedio on binary lifting algorithm for kth ancestor in a BT🙏. Not much is available on UA-cam.
Please make one on split BST...
Hello Sir please make a video for why people are agree working extra time in company.
bro!! System design problems pr bhi kuch content daloo!! pls, facing so much problems during machine coding round!
Hi bro 👋
Provided solution only give first pair, other sets of pairs will not be derived.
same problem with time complexity O(n) and space complexity O(log n) by using 2 stacks instead of an array. can you make a video on that
bhaiya please make video on next permutation question
❤ U BRO...... ❤❤❤❤❤
bhaiya please one video , class ,methods, linkedlist ,stack ,queue, fully basic please please
Please refer to the Collection framework in one video. It'll help
@@AnujBhaiya collection framework in one video is very helpful but that topic(linkedlist ,stack ,queue fully basic) without collection framework .if you have time make video then ok . thank u bhaiya.
🙏👍👍
1st comment ❤️
Hello bhaiya, i wanted to ask that if I learn Java from your java playlist from that 3 videos then will it be enough to apply for the java developer position?
First