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...
На этой странице сайта вы можете посмотреть видео онлайн Maximum Depth of Binary Tree | Leet code 104 | Theory explained + Python code длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Sai Anish Malla 01 Декабрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,651 раз и оно понравилось 59 зрителям. Приятного просмотра!