Minimum Depth of Binary Tree | Leet code 111 | Theory explained + Python code
This video is a solution to Leet code 111, Minimum 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!
Code:
https://leetcode.com/problems/minimum-depth-of-binary-tree/discuss/905936/Python-BFS-and-DFS-Explained-(video-%2B-code)
Time stamps:
0:00 Question Explained
1:56 BFS Explained
4:13 DFS Explained
5:47 BFS code
8:22 DFS code
More leetcode questions solved:
https://www.youtube.com/watch?v=O5yxoFS_diY&list=PLr9zbByiJa3Ua2AgTrdvot6AQ3b4CxWrF
Gear used:
Mic: https://amzn.to/3awi3b6
Drawing pad: https://amzn.to/2O7PaaU
Видео Minimum Depth of Binary Tree | Leet code 111 | Theory explained + Python code канала Sai Anish Malla
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!
Code:
https://leetcode.com/problems/minimum-depth-of-binary-tree/discuss/905936/Python-BFS-and-DFS-Explained-(video-%2B-code)
Time stamps:
0:00 Question Explained
1:56 BFS Explained
4:13 DFS Explained
5:47 BFS code
8:22 DFS code
More leetcode questions solved:
https://www.youtube.com/watch?v=O5yxoFS_diY&list=PLr9zbByiJa3Ua2AgTrdvot6AQ3b4CxWrF
Gear used:
Mic: https://amzn.to/3awi3b6
Drawing pad: https://amzn.to/2O7PaaU
Видео Minimum Depth of Binary Tree | Leet code 111 | Theory explained + Python code канала Sai Anish Malla
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Maximum Depth of Binary Tree - 3 Solutions - Leetcode 104 - Python](https://i.ytimg.com/vi/hTM3phVI6YQ/default.jpg)
![Lowest Common Ancestor of a Binary Search Tree - Leetcode 235 - Python](https://i.ytimg.com/vi/gs2LMfuOR9k/default.jpg)
![Convert Sorted Array to Binary Search Tree - Leetcode 108 - Python](https://i.ytimg.com/vi/0K0uCMYq5ng/default.jpg)
![Partition Labels | Leet code 763 | Theory explained + Python code](https://i.ytimg.com/vi/nGWQlXracRM/default.jpg)
![Minimum Depth of Binary Tree, Do you do these mistakes in an interview ? LeetCode - 111, 104](https://i.ytimg.com/vi/JrrPcXix8zo/default.jpg)
![Showing a Craigslist scammer who's boss using Python](https://i.ytimg.com/vi/UtNYzv8gLbs/default.jpg)
![Binary Lifting (Kth Ancestor of a Tree Node)](https://i.ytimg.com/vi/oib-XsjFa-M/default.jpg)
![Longest Substring Without Repeating Characters | Leet code 3 | Theory explained + Python code](https://i.ytimg.com/vi/RHM5G8HGf6M/default.jpg)
![Minimum Depth of Binary Tree](https://i.ytimg.com/vi/hmWhJyz5kqc/default.jpg)
![Path Sum III | LeetCode 437 | Medium](https://i.ytimg.com/vi/uZzvivFkgtM/default.jpg)
![(Remade) Leetcode 111 - Min Depth Bin Tree | Binary Tree](https://i.ytimg.com/vi/nEJtZZM011c/default.jpg)
![Diameter of a Binary Tree - Leetcode 543 - Python](https://i.ytimg.com/vi/bkxqA8Rfv04/default.jpg)
![Binary Tree Level Order Traversal - BFS - Leetcode 102](https://i.ytimg.com/vi/6ZnyEApgFYg/default.jpg)
![Pascal's Triangle - Leetcode 118 - Python](https://i.ytimg.com/vi/nPVEaB3AjUM/default.jpg)
![Increasing Order Search Tree | Leet code 897 | Theory explained + Python code](https://i.ytimg.com/vi/vABwsgqI-_4/default.jpg)
![Excel Sheet Column Title | LeetCode 168 | C++, Python](https://i.ytimg.com/vi/UcTKk2y_3s4/default.jpg)
![GOOGLE - MAXIMUM DEPTH OF BINARY TREE (LeetCode)](https://i.ytimg.com/vi/D2cFSDfg0So/default.jpg)
![Binary Tree Part 1 | BST | Binary Search Tree - Data Structures & Algorithms Tutorials In Python #10](https://i.ytimg.com/vi/lFq5mYUWEBk/default.jpg)
![Delete a node from Binary Search Tree](https://i.ytimg.com/vi/gcULXE7ViZw/default.jpg)
![Search Insert Position | search insert position leetcode 35 | leetcode 35 python](https://i.ytimg.com/vi/Zwv76-UplxU/default.jpg)