LOWEST COMMON ANCESTOR OF DEEPEST LEAVES | LEETCODE 1123 | PYTHON DFS SOLUTION

  Рет қаралды 2,002

Cracking FAANG

Cracking FAANG

Күн бұрын

Пікірлер: 11
@baetz2
@baetz2 Жыл бұрын
Great explanation as always. Even though I am able to solve some of this problems by myself, and even though I don't know Python, I still find something to learn in each of this videos. Thank you!
@jamesnguyen3459
@jamesnguyen3459 Жыл бұрын
Very detail analysis. Thank you
@hangchen
@hangchen Жыл бұрын
It's the new year so I liked and subscribed for good!
@sarayarmohammadi3376
@sarayarmohammadi3376 10 ай бұрын
Thank you!
@AP-eh6gr
@AP-eh6gr Жыл бұрын
What if a subtree has two leaves which are unsymmetrically deepest? eg they are the deepest and the 2nd deepest leaves, and their depth differs by 1 and no other leaf is nearly as deep as these two?
@AP-eh6gr
@AP-eh6gr Жыл бұрын
Got it, the question wants only the exclusively deepest, and all of such equally deepest
@李燕行
@李燕行 Жыл бұрын
very helpful! thank you so much! in order to comment your vedio,i register youtube hhhhh!
@eddiej204
@eddiej204 Жыл бұрын
Thanks ser
@abhicasm9237
@abhicasm9237 Жыл бұрын
Have you bought the leetcode premium?
@crackfaang
@crackfaang Жыл бұрын
Yes obviously. It’s an absolute must
@李燕行
@李燕行 Жыл бұрын
@@crackfaang hhhhh so cute!
LOWEST COMMON ANCESTOR OF A BINARY TREE II | PYTHON | LEETCODE 1644
20:46
LOWEST COMMON ANCESTOR OF A BINARY TREE IV | PYTHON | LEETCODE 1676
10:51
Lowest Common Ancestor of a binary tree | Leetcode #236
17:29
L27. Lowest Common Ancestor in Binary Tree | LCA | C++ | Java
14:09
take U forward
Рет қаралды 325 М.