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 ❤️
Thanks!
The best explaination not using any fancy things like other youtubers.
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 😀😀😀😀
Just great explaination..plz make one video on recursion..how recursion actually work by using stack
short and crisp explanation
Anuj bhaiya UA-cam ki pahali comment jaati hai aapko ❤Mind blowing approach ❤ ,,
bhai bahut badia, bahut kam indian dekhein jinhe explain karna aata hai warna toh bas paise ke liye kuch bhi upload karte hain.
thanks , easiest way of explanation
Thankyou so much Bhaiya for the efforts, studying with the help of your videos really changed my perspective towards coding.
love you bhaiya.
best ever explanation for this question
Thanks a lot!! Precisely what i needed!
helpful bhiya
Very nice bhaiya 🔥🔥🔥 and Thanks a lot 🙏🙏
bhaiya yaha tak samj aaaga lets see whats ahead waiting for me buz level of question is getting hard now.
Best explanation
dimag ka dahi ho gaya. this is so tough. i want to leave coding. but i won't.
😂
Very helpful
nice video
#awesome course
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
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
Love from Bangladesh.
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......❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
Wonderful!!!
Bhaiya please make video on Google Hash code, how to solve questions and also please show us how to submit Answer by submitting one
Bhaiya please make video on Google Hash code, how to solve questions and also please show us how to submit output by submitting one
Nice bhaiya
best best best !
nice
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.
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
I am facing issue how to solve google hash code Question can you please solve one and make a video on it please
Bhaiya is back
better explaination than apna college
I got the java developer job. In interview they asked medium hard level questions.
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 ..
bhaiya please make video on hackathons
No one is better than you
Itna late video kyu🙂 . Atleast two video de diya karo one week me🙏
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.
What if one of two values is not present in tre
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.
Bhaiya or kitne video bache h iss course m?
Bhaiya aman bhaiya ko bol ke java wala public krwa dijiye n
Ya bhaiya 1 shot mein jldi jldi pdha do
why not (6,4) lowest common ancestor is 2 ?
💕❤️❤️💕
HOW TO PREPARE FOR GATE ALONG WITH COLLAGE ...iske upar eak video banadijie please ..
bauth hard
First bhaiya
I feel bad for not figuring a solution for such an easy problem 😢.
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
I did not understand this unfortunately!
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
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