Bhaiya, you are just great the way you approach a problem is just amazing and mind blowing. Thanku Very much Bhaiya We Want more videoes on binary tree please bhaiya
Hi Anuj Bhaiya.....Please Regex series start kar do basic se advance level tak......Aaj Amazon ka Test tha 2 problems thi Regex wali nhin ho payi I am frustrated......I hope you will start it so that from next time we will be able to solve Regex problems easily........Lots of Love and hope from you...........Thankyou In advance......❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
this method assumes two values are present. if one present and other is absent . then this method doesn't works. just you have to check which value you found nd create search function for checking ther value, if you found then return lca, else return none.
sir mene BA graduation kara he or me abhi MBA (CORE) pursuing kr ra hu indore se .sir my dream is job in TCS and placement. how to job in TCS and IT MNC company sector. help it sir.bhot jada confuse hu life me kuch samjh nhi ara kya kru.please help sir.please😖😖🙏🙏
If there wasn't UA-cam I wouldn't have found such a great teacher...
You are the best teacher i have found ❤️
The best explaination not using any fancy things like other youtubers.
short and crisp explanation
Just great explaination..plz make one video on recursion..how recursion actually work by using stack
bhai bahut badia, bahut kam indian dekhein jinhe explain karna aata hai warna toh bas paise ke liye kuch bhi upload karte hain.
Bhaiya, you are just great the way you approach a problem is just amazing and mind blowing.
Thanku Very much Bhaiya
We Want more videoes on binary tree please bhaiya
Sure more videos on the way, stay tuned 😊
Thanks for making such videos it Helps a lot . Salute from MP 😀😀😀😀
Anuj bhaiya UA-cam ki pahali comment jaati hai aapko ❤Mind blowing approach ❤ ,,
thanks , easiest way of explanation
best ever explanation for this question
Thankyou so much Bhaiya for the efforts, studying with the help of your videos really changed my perspective towards coding.
love you bhaiya.
bhaiya yaha tak samj aaaga lets see whats ahead waiting for me buz level of question is getting hard now.
dimag ka dahi ho gaya. this is so tough. i want to leave coding. but i won't.
😂
Thanks a lot!! Precisely what i needed!
Thanks!
Bhaiya please make video on Google Hash code, how to solve questions and also please show us how to submit Answer by submitting one
Very nice bhaiya 🔥🔥🔥 and Thanks a lot 🙏🙏
Bhaiya please make video on Google Hash code, how to solve questions and also please show us how to submit output by submitting one
helpful bhiya
Bhaiya plz 🙏🙏 Java playlist available krva do 🙏🙏
Anuj bhaiya aap Java ka course upload kigiye es channel pr... 😊
Basic java sikhya hai toh pepcoding java lvl 1 karlo...same hi hai...wo bhi java ma hi hai
better explaination than apna college
Best explanation
I got the java developer job. In interview they asked medium hard level questions.
Very helpful
Hi Anuj Bhaiya.....Please Regex series start kar do basic se advance level tak......Aaj Amazon ka Test tha 2 problems thi Regex wali nhin ho payi I am frustrated......I hope you will start it so that from next time we will be able to solve Regex problems easily........Lots of Love and hope from you...........Thankyou In advance......❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
Love from Bangladesh.
nice video
Thanks Anuj for the great solution. Can you please explain how the solution can be extended for LCA of n ary Tree?
This solution doesn't work for n ary tree tree
#awesome course
HOW TO PREPARE FOR GATE ALONG WITH COLLAGE ...iske upar eak video banadijie please ..
this method assumes two values are present. if one present and other is absent . then this method doesn't works. just you have to check which value you found nd create search function for checking ther value, if you found then return lca, else return none.
I am facing issue how to solve google hash code Question can you please solve one and make a video on it please
Wonderful!!!
Nice bhaiya
LCA (6,4) should be 2, check video at 2:10. Also correct, if I am wrong.
a node is LCA of itself also.
No. It's the lowest common ancestor. Not the smallest common ancestor. So the answer is 4 only
No one is better than you
bhaiya please make video on hackathons
best best best !
nice
Bhaiya is back
Itna late video kyu🙂 . Atleast two video de diya karo one week me🙏
Bhaiya aman bhaiya ko bol ke java wala public krwa dijiye n
Ya bhaiya 1 shot mein jldi jldi pdha do
I feel bad for not figuring a solution for such an easy problem 😢.
Why we take 4 as a lowest ancesstor among 4,2,5 2 is lowest and it is common for 6 and 4 both?
By definition, Every node is also an ancestor of itself with 0 depth.
Hence 4 is an ancestor of 4 as well as 6.
@@AnujBhaiya but 2 is lowest
@@arishsheikh3000 by lowest it means nearest , not the minimum lowest ..
I don't get how it reduces the time complexity?? It is still O(n). Btw thanks for all the beautiful videos ❤️
Time Complexity is same. However, this is more space efficient . You don't need extra space here.
why not (6,4) lowest common ancestor is 2 ?
What if one of two values is not present in tre
Bhaiya, why do we include 6 as its own ancestor?? I can't understand that. Please explain
By definition, Every node is also an ancestor of itself with 0 depth.
bauth hard
First bhaiya
Bhaiya or kitne video bache h iss course m?
Bhaiya Or kitne lectures baaki hai
Bhaiya i am a college student and require a part time job and i do video editing if you require a video editor please reply
Hello sir i am manish kumar me to suggest Harman Singh UA-cam channel thanks
💕❤️❤️💕
sir mene BA graduation kara he or me abhi MBA (CORE) pursuing kr ra hu indore se .sir my dream is job in TCS and placement. how to job in TCS and IT MNC company sector. help it sir.bhot jada confuse hu life me kuch samjh nhi ara kya kru.please help sir.please😖😖🙏🙏
1st viewer
I did not understand this unfortunately!
maza nahi aya bro...SAD
I am facing issue how to solve google hash code Question can you please solve one and make a video on it please