Maximum Depth of Binary Tree - 3 Solutions - Leetcode 104 - Python
NeetCode
0:00 / 0:00
Maximum Depth of Binary Tree - 3 Solutions - Leetcode 104 - Python
390 727 просмотров · 5 лет назад
NeetCode
1,12 млн подписчиков
390 727 просмотров · 5 лет назад
🚀 https://neetcode.io/ - A better way to prepare for Coding Interviews
🐦 Twitter: / neetcode1
🥷 Discord: / discord
🐮 Support the channel: / neetcode
Twitter: / neetcode1
Discord: / discord
⭐ BLIND-75 SPREADSHEET: https://docs.google.com/spreadsheets/...
⭐ BLIND-75 PLAYLIST: • Two Sum - Leetcode 1 - HashMap - Python
💡 CODING SOLUTIONS: • Coding Interview Solutions
💡 DYNAMIC PROGRAMMING PLAYLIST: • House Robber - Leetcode 198 - Python Dyna...
🌲 TREE PLAYLIST: • Invert Binary Tree - Depth First Search - ...
💡 GRAPH PLAYLIST: • Course Schedule - Graph Adjacency List - L...
💡 BACKTRACKING PLAYLIST: • Word Search - Backtracking - Leetcode 79 -...
💡 LINKED LIST PLAYLIST: • Reverse Linked List - Iterative AND Recurs...
Problem Link: https://neetcode.io/problems/depth-of...
0:00 - Read the problem
1:28 - Recursive DFS
5:30 - BFS Solution
10:43 - Iterative DFS
leetcode 104
This question was identified as an interview question from here: https://github.com/xizhengszhang/Leet...
#binary #tree #python
Disclosure: Some of the links above may be affiliate links, from which I may earn a small commission.