This video is a solution to Leet code 104, Maximum Depth of Binary Tree. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python code.
Comment below if you have a better solution to this problem!
Let me know if you have any feedback and don't forget to subscribe for more videos!
Time stamps:
0:00 Question Explained
1:19 BFS
6:18 DFS
Code:
https://leetcode.com/problems/maximum...)
More leetcode questions solved:
• Add and Search Word - Data structure desig...
Nesta página do site você pode assistir ao vídeo on-line Maximum Depth of Binary Tree | Leet code 104 | Theory explained + Python code duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sai Anish Malla 01 Dezembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,651 vezes e gostou 59 espectadores. Boa visualização!