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...
In questa pagina del sito puoi guardare il video online Maximum Depth of Binary Tree | Leet code 104 | Theory explained + Python code della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sai Anish Malla 01 dicembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,651 volte e gli è piaciuto 59 spettatori. Buona visione!