Lowest Common Ancestor in a Binary Tree | LCA of a Binary Tree | DSA-One Course #64

preview_player
Показать описание
Hey guys, In this video, In this video, We're going to solve how to find the Lowest Common Ancestor in a Binary Tree.

Use the code ANUJBHAIYA on GeeksforGeeks to avail discount on courses.

🥳 Join our Telegram Community:

Follow me on:

Complete DSA Playlist:

Hashtags:
#anujbhaiya #dsaone

Tags:

lowest common ancestor in a binary tree
lowest common ancestor of a binary tree
lca of a binary tree
lowest common ancestor
lca
least common ancestor
anuj bhaiya
lowest common ancestor of a binary search tree
236. lowest common ancestor of a binary tree
lca in binary tree
lca of binary tree
lca binary tree
lowest common ancestor in a binary search tree
lowest common ancestor in a bst
binary tree
lowest common ancestor in binary tree
235. lowest common ancestor of a binary search tree
anuj bhaiya dsa
lca in a binary tree
anuj bhaiya java
lca tree
leetcode 236
common ancestor
dsa one
tree dsa
trees dsa
dsa
longest common ancestor
lowest common ancestor binary tree
binary tree lowest common ancestor
lca in bst
lca of three nodes
least common ancestor in binary tree
ancestor
binary tree in data structure
leetcode 235
binary tree java
lca of a binary search tree
top view of binary tree
tree in dsa
tree in java
trees
trees data structures and algorithms
1448. count good nodes in binary tree
anuj
anuj kumar sharma
axis bank pre approved credit card
binary lifting
binary search tree in java
binary tree playlists
binary tree python
binary trees
bst in java
codechef
diameter of binary tree
dsa course
dsa full course
dsa tree
find lca in a binary tree
flatten binary tree to linked list
graph data structure
greedy algorithm
hackerrank binary search
java anuj bhaiya
lca in a binary search tree
lca leetcode
lca of 3 nodes
lca of bst
lowest common ancestor in a binary tree leetcode
lowest common ancestor in a binary tree python
lowest common ancestor of a binary tree java
lowest common ancestor of a binary tree leetcode
lowest common ancestor of a binary tree python
lowest common ancestor of binary tree
maths for dsa
min distance between two given nodes of a binary tree
minimum bst sum subtree
Рекомендации по теме
Комментарии
Автор

If there wasn't YouTube I wouldn't have found such a great teacher...
You are the best teacher i have found ❤️

praveenji
Автор

Just great explaination..plz make one video on recursion..how recursion actually work by using stack

gitanjalikumari
Автор

dimag ka dahi ho gaya. this is so tough. i want to leave coding. but i won't.

supratiksarkar
Автор

Thankyou so much Bhaiya for the efforts, studying with the help of your videos really changed my perspective towards coding.
love you bhaiya.

mayanksharma
Автор

bhai bahut badia, bahut kam indian dekhein jinhe explain karna aata hai warna toh bas paise ke liye kuch bhi upload karte hain.

linguisticgamer
Автор

Anuj bhaiya YouTube ki pahali comment jaati hai aapko ❤Mind blowing approach ❤, ,

thedvn
Автор

bhaiya yaha tak samj aaaga lets see whats ahead waiting for me buz level of question is getting hard now.

yashyadav
Автор

Bhaiya please make video on Google Hash code, how to solve questions and also please show us how to submit Answer by submitting one

SunnyGupta
Автор

Bhaiya plz 🙏🙏 Java playlist available krva do 🙏🙏

Reel
Автор

I am facing issue how to solve google hash code Question can you please solve one and make a video on it please

SunnyGupta
Автор

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.

kingmaker
Автор

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

laveshgarg
Автор

Hi Anuj Regex series start kar do basic se advance level Amazon ka Test tha 2 problems thi Regex wali nhin ho payi I am hope you will start it so that from next time we will be able to solve Regex problems of Love and hope from In

badnamghumakkad
Автор

Very nice bhaiya 🔥🔥🔥 and Thanks a lot 🙏🙏

atuldwivedi
Автор

Why we take 4 as a lowest ancesstor among 4, 2, 5 2 is lowest and it is common for 6 and 4 both?

RiyaSharma-cjtm
Автор

Bhaiya, why do we include 6 as its own ancestor?? I can't understand that. Please explain

kavitatiwari
Автор

bhaiya please make video on hackathons

sudhanshudubey
Автор

HOW TO PREPARE FOR GATE ALONG WITH COLLAGE ...iske upar eak video banadijie please ..

kousiknandi
Автор

Itna late video kyu🙂 . Atleast two video de diya karo one week me🙏

reenayadav
Автор

LCA (6, 4) should be 2, check video at 2:10. Also correct, if I am wrong.

piyushagarwal