Correct Binary Tree That Has Two Nodes Swapped - FAANG Interview Question
Вставка
- Опубліковано 3 жов 2024
- In this video, we'll learn how to correct a Binary Tree that has two nodes swapped, a frequently asked question in FAANG interviews.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
Join Replit: join.replit.com...
Lecture code: replit.com/@Ku...
Complete Java DSA playlist: • Java + DSA + Interview...
Code, Assignments, & Notes: github.com/kun...
➡️ Connect with me: kunalkushwaha.com
👨💻 Join WeMakeDevs: wemakedevs.org
#dsa #placement #leetcode
DSA + interview preparation playlist: ua-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html
Continue karne jaa rahe hai kya Sir
sir pure videos dekh liye last tak aab dp aur graph bhi bana dete to maja aa jaati
Somethings's cookin??
Is dynamic programming videos of yours are present
Hi Kunal,
Please graphs aue padha dijiye bus. We are till end just this topic is left so requesting you to please explain graph also 🙏🙏
I followed your entire Java playlist and I am thrilled to share that I cleared my interview and got placed as an Associate Software Engineer. Thank you so much for your guidance and for providing such valuable, free content. Your help has been invaluable!
Can i reach u out somewhere pls
Do you just stick to this playlist or you have studied from somewhere else also
Pls tell
@@Chessmaster1093 she is still preparing
We know you are very busy, but please complete the course, the faith we have on you after going through the course is unimaginable. Cannot learn from anyone else after watching your skills.
Nahi padhaega vo…usse paisa chaiye
@@LordSarcasticVlogger bhai. Joo paisa vala hey voo tho karidunga dedo vunka .. 😢
we all are eagerly waiting for your Dynamic Programming series
Wait for 2 years 😂😂
Plz tell me what r the remaining topics of this course which aren't completed yet?
Very excited for your dp series 😢😊
nhi aayga
@@wellakash why bro
As the countdown to the end of my placement ticks closer with just three months left, I've been relying heavily on this playlist. It's been incredibly helpful, and I've found it so engaging that I've struggled to follow any other courses. Every time I try, it just reminds me of how fantastic this free course is. I understand that creating quality content takes time, but the anticipation for new videos is high. It's disappointing when a course isn't completed as promised, especially when it's been so valuable to us, especially with companies coming to our college to hire us in three months. Hoping to see it completed soon!
How much time it took to u to complete the course till here
Hey I Just passed my 12th, I am going to take cs in clg, Anything you guys can recommend me?(Where to start?whom to follow?Rodamap?etc)
@@Greed_._do this guys course and all the practice problems best as possible and ur set
Please bring Graphs and DP videos.
Placement season is here and we really need it.
Thank you!
isko nhi aata dsa , pehle khud pdhega aur bekar ki video bna dega, kisi aur se padh le bhai kyon apna time waste kr rha.
@@NoFormalities-y1kchannel batao bhai java + dsa keliye
@@NoFormalities-y1k Khan se padun dsa in java ek playlist bata do pls
Please create graphs and DP video Kunal🙏🙏
isko nahi aata DSA? @@NoFormalities-y1k
I saw someone in youtube telling about best DSA course to follow in youtube, and ranked in 3rd place by saying it is not complete course or discontinued in between, I was just praying u to back and u r here, u just became my morning starting routine of learning
which courses did he rank 2nd and 1st?
No Course
Bro i have said to all my friends to learn DSA from this playlist... But everyone is like its not completed... Please focus on this and compleye it... I am following it since 2d sem reached jn 4th sem... I wanted to complete DSA till this sem ends... Please complete the playlist as soon as possible
Hello bro which resources are you following now for DSA in Java
Glad to have learnt from you Sir, we know you are busy with your life and honestly it's ok to look for self.
But just wanted to thank you for the knowledge you gave till date, for rest remaining concepts will follow others as placements season is much closer now. But will surely wait for your videos on DP and Graphs.
Thank you for all your efforts.
Kudos to your work❤️.
Hey still waiting for your dynamic programming course I believe only you can make it easier for beginners to learn this compared to other resources available.
You are better off learning on your own, his DSA course has now been more than 2 years in the making. It's a free course, he is not obligate to commit neither should anyone wait for it
Hi Can you suggest any courses for that particular topics? Please@@stevenkart-n6f
@@stevenkart-n6fhello brother pls help me which course I need to choose for DSA with Java . I want to start immediately. Please help mee
following your complete playlist...Really helpful :)
Hi @KunalKushwaha!! Requesting you to please complete this course.
I hope you are working on graph and DP and we will get it soon. #dsawithkunal will be a memorable journey. thanks 🙏❤
Hi Kunal you are the best .. waiting for your dynamic programming course .
Kunal please upload DP and graph videos 😢😢 humble request 🙏
Hey Man! Great course. Desperately need your graphs, DP, heap,etc remaining videos. It would be a great help if you upload them ASAP!!!!
Please, quickly complete the DSA COURSE
bro yeh kitna aur reh raha hae?
finally reached here, thank you bhaiya and i think you want some more time to make dp and graph videos and than i have to switch to some other channel but thank you bhaiya for your efforts and you will always have a corner in my effort for the work you did and i want to say you bhaiya that most of the people dont learn DSA from your such amazing bootcamp just because you have not completed your playlist but they are stupid and at end thank you bhaiya for your efforts
Hey i am a student who is just going to start his 1st year btech, i want to start learning java from his playlist but the problem i am facing is that many comments are saying that the course is not completed (if not than how much percentage of the syllabus is left can you tell me) ,should start with the playlist or rather i should start learning from course which is completed
@@PranavPandey-x9e are you going to tier 3 clg?
@@Greed_._ idk it's amrita university
@@Greed_._ it's tier 2 ig
@@PranavPandey-x9e I am studying from kunal dsa course If you want to connect. I am at functions right now
Bro plz plz plz complete it u have top notch knowledge plz it is very helpful
Hey Kunal! Please please add the videos for DP and graphs , heap etc remaining topics. Please its a request we really need those videos
bhai next video ka intezar karte karte 2nd se 4th year me aa gaya
Us bro us😂
happy new year bro , can you please give a sequence for most important topics to least in dsa
@kunal Thanks for this awesome content. you are helping youth have bright futures. Could you let us know if you plan to complete the remaining topic?
Happy new year Kunal and to all folks
I think Graphs, additional topics (sliding window, tries, kadane's algorithm) heaps questions will be better first than dynamic programming since dynamic programming is rarely asked while those others are essential for interviews
Where are rest of lectures??😊
Hey just let us know if you are goin to bring Graphs, DP, TRIE and all remaining topics or not?
We will have to move to other channels if not.
Kunal please add more questions to assignments. Please review again .....on assignment.. please please
I CANNOT WAIT FOR DP PLAYLIST
HONESTLY SUPER EXCITED
Eagerly waiting for Graphs and DP
There is a case where both the violation nodes are adjacent to each other in the inorder traversal. In this case, the second violation gets skipped and the second node reference variable stays null, resulting in compile time error.
To resolve that, you can create an extra reference variable as 'adjacent' or 'possibleSecond' and whenever you find the first violation node, make sure that you record the current node in the extra variable.
Later when swapping the values, if we find that the 'second' reference variable is null then we can just assign the 'possibleSecond' node reference to it and the case will be handled.
Thanks for the course sir!! Really helpful
Kunal bhai , waiting for next graphs and dynamic programming videos bhai😢😢😢
Hi bro, can you share us complete handwritten notes. It will be easier to revise entire bootcamp
is this series completed?
SIr can you make videos on Dynamic Programming and Graphs. It will be really helpful as your explanations and teaching method is best i found on youtube.
please please kunal bhaiya complete this course we really need this !!!
Waiting for graph and dp series.... 😊
Hii Kunal Sir, please complete Graphs and DP also as early as possible
Kunal please upload DP and Graph videos all students are waiting for this and complete your promise
complete the course!!!!
Please finish hashmaps and heaps questions before graphs and dsa it's a very important topic sir
Nahi kruga bhai
Thanks for your efforts
Eagerly waiting for your graph and DP series ... we know you are very busy.. But still, making such request bcz no one teaches like yo do ❤❤🙏🙏
Sir please complete the course.।
Please upload graph and dp series
Bhai we are waiting for dp and graphs in this series, please upload ASAP!!! with love your lovely subscriber ❤❤
Hey kunal please make graph and dynamic programming videos :->
Bro please complete dynamic programming and graphs waiting for completion of your playlist.
👉 Resources
- Join Replit: join.replit.com/kunal-kushwaha
- Lecture code: replit.com/@KunalsReplit/AdvanceTreeQuestions
Bro still waiting for your dynamic programming course I believe only you can make it easier for beginners to learn this compared to other resources available .Please increase the pace..
Hey Kunal Hope u are doin fine. Please bring Graph and DP series. We are aware that bringing such a quality content for free is hard but we really need it!!!!
Hi Kunal, your way of teaching no one can match.You are best teacher. Requesting you to please create Graphs and DP video 🙏🙏
When will you complete This series atlist notify us about your plan for this series❤❤
it was nice watching all your tutorial till now can you also make playlist strings like linklist playlist with my dsa questions
Amazing explanation
Hey, could someone please mention the topics that are not covered in this playlist? I'm in the middle of it and would like to be prepared by looking for other sources or collecting study material.
Subarray Questions: Sliding window, Two Pointer, Kadane's Algorithm
Graphs
Dynamic Programming
Greedy Algorithms
Tries
You can study these from striver!
@@RitikRai-dz4moonly this?
@@abhimanyus8757 yes
@@RitikRai-dz4mo ThankYou so much!😊
Thankyou your reply helped me 😀
amazing teacher,please upload graph and dp asap.
do dp series and graph series
hey!! the series has been really helpful from the start to the end just waiting for next videos now for graphs and DP #DSAWithKunal
all concepts are covered ?? dsa and java please tell and is this course good for begineer to start from basic to advanced
@@KARNmusiic it is good it starts at the basic and go till advanced concepts plus most topics are covered for data structure, also some algorithms but I think he will upload them soon. And yes would totally recommend it cause helped me a lot.
@@shradhagadia8756 very thankful to you i will go this and also after this i am thinking to practise love babbar 450question sheet
@Kunal Kushwaha Can you please help us to give roadmap that how to switch from service based to product based company.
Mere paas hain lekin bina paise ke main kyu btaau?
Happy new year Kunal
My placement session will begin somwhere from june, please complete Dynamic programming brother 🥲🥲
Happy new year 🎉
Hey kunal is this playlist is complete?
what are the left topics in dsa playlist ?
@Kunaltwts
Subarray Questions: Sliding window, Two Pointer, Kadane's Algorithm
> Graphs
-- Introduction
-- BFS
-- DFS
-- Working with graph components
-- Minimum Spanning Trees
-- Kruskal Algorithm
-- Prims Algorithm
-- Dijkstra’s shortest path algorithm
-- Topological Sort
-- Bellman ford
-- A* pathfinding Algorithm
> Dynamic Programming
-- Introduction
-- Recursion + Recursion DP + Iteration + Iteration Space Optimized
-- Complexity Analysis
-- 0/1 Knapsack
-- Subset Questions
-- Unbounded Knapsack
-- Subsequence questions
-- String DP
> Greedy Algorithms
> Tries
Also some parts of
Heaps
HashMaps
@@mithilesh6793plzz suggest yt channels for learning these topics ( java language)
Upload more pls ❤
kunal bhaiya please continue the series .... please ...... please
Nahi kruga…bta kya ukhaad lega ?
Bro please upload next videos please waiting waiting waiting 😔😔😔😔😔😔😔
Waiting for graphs and DP series
please complete this DSA boot camp as early as possible as our placement preparation started for 2025 batch we are waiting for new videos it very useful to us
Could someone create a list of the missing topics from this playlist?
Yes please!
@@isometric_shahil Remaining topics :-
Sliding window, Two Pointer, Kadane's Algorithm
Graphs
Dynamic Programming
Greedy Algorithms
Tries
You can study these from striver!
When you'll complete this playlist ?
Happy New year Kunal bhai ❤
Thanks and same 2 uh
Kunal bhai, waiting for graphs and dynamic programming
Can you tell us when you will start Dynamic Programming
Is this the last video in java and dsa course ? Did whole java and dsa complete here? Pleaee tell me
No bro, graphs and dynamic programming is pending
Finish Graphs and I will never complain that this course is incomplete 🐐
Is this playlist is still continue..?
Is dynamic programming videos of yours are present
Sir please complete the course plz plz plz 🙏
Hi
I am searching for your graph lessons did you teach them?
learn graph and dynamic programming from "take U forward" youtube channel (watch latest playlist which have roughly 50-55 videos)
kunal we are still waiting ... please make videos on DP and Graph. we are tired of watching lectures of others
Kunal bhaiya , we all are waiting for DP series . Please work on it .
bro it's been 8 months continue the playlist
, cmmon
PLEASE COMPLETE THE COURSE. WE'RE HIGHLY DEPENDING ON YOU.
PLEASE 🙏🏻
Thanks kunal
Is this course playlist ended or still more videos to come?
Ended..Officially…He told this on his Github Channel
Hey kunal , love your vedios , i just have a quick question , is this course really enough to get a job at maang companies or do we need to do development too ( web , ai , developer,etc)too , to get placed?
I think you should go fir devops and development after this you will manage to get placement
Please upload graphs and dynamic programming classes please
Will dsa playlist get completed till the time my college end cuz I m gonna join first year soon 😂😂
Hare krishna don't worry u all will get a job keep praying and have faith on God
waiting for graph and dp...upload as soon as possible :)
bro when you upload remaining lectures
Please upload graph and DP videos.
hello sir please complete DSA full playlist please sir
Bhaiya please continue the series
Love your videos Kunal can u please complete this playlist as soon as possible
Sir baki parts kab upload honge
I'm third year student can i start the bootcamp now and complete it within 5 months
sure you can complete it within 6 months, if you learn daily
thank you☺@@satyam1543
Please tell me should i start this series or not... because it is incompleted till now 😢
Same here 😢
So did you start this playlist or any other java with dsa playlist? Please reply
No, I think the striver's channel is the best for DSA
@@khushi4538 but isn't it for c++??...
@@khushi4538 isn't that playlist is with c++??
Can anyone tell me the remaining topics to learn
Sir provide more binary tree advance level questions with answers
Kunal i love your lessons and how you believe your lessons are the best, if you yourself don't believe in your lessons then who else will? I love that spirit but you don't reply toy comments😢