559. Maximum Depth of N-ary Tree | LeetCode Daily Challenge | BFS | DFS

Channel:
Subscribers:
2,760
Published on ● Video Link: https://www.youtube.com/watch?v=Wg243C9gjrw



Duration: 9:30
41 views
5


Problem: https://leetcode.com/problems/maximum-depth-of-n-ary-tree/description/

Maximum Depth of Binary Tree: https://youtu.be/SYK9tqyHrOs

0:00​ - Question Understanding
2:20 - DFS Approach
5:50 - Coding
8:30 - BFS Approach
9:00 - Complexities

#coding #dsa #leetcode #daily #programming #cpp #tutorial




Other Videos By Deep Tech


2023-02-211011. Capacity To Ship Packages Within D Days | LeetCode Problem of Day | LeetCode POTD
2023-02-20Fill the Matrix | GFG Daily Problem 21 Feb | GFG POTD | BFS
2023-02-20540. Single Element in a Sorted Array | LeetCode Medium
2023-02-192571. Minimum Operations to Reduce an Integer to 0 | LeetCode Medium | Weekly 333
2023-02-1935. Search Insert Position | LeetCode | Binary Search
2023-02-18103. Binary Tree Zigzag Level Order Traversal
2023-02-182567. Minimum Score by Changing Two Elements | LeetCode Medium
2023-02-182568. Minimum Impossible OR | LeetCode Medium | Bitwise OR
2023-02-17226. Invert Binary Tree | LeetCode Daily Challenge | Beginner Friendly Solution | BFS | DFS
2023-02-16783. Minimum Distance Between BST Nodes | LeetCode Daily Challenge
2023-02-15559. Maximum Depth of N-ary Tree | LeetCode Daily Challenge | BFS | DFS
2023-02-15104. Maximum Depth of Binary Tree | LeetCode Daily Challenge | BFS | DFS
2023-02-14989. Add to Array-Form of Integer | LeetCode Daily Challenge
2023-02-1367. Add Binary | LeetCode Daily Challenge
2023-02-121523. Count Odd Numbers in an Interval Range | LeetCode | O(1)
2023-02-122565. Subsequence With the Minimum Score | LeetCode Hard
2023-02-122477. Minimum Fuel Cost to Report to the Capital | LeetCode Medium
2023-02-112564. Substring XOR Queries | LeetCode Medium
2023-02-101129. Shortest Path with Alternating Colors | LeetCode Medium | Graphs | BFS
2023-02-091162. As Far from Land as Possible | LeetCode Medium
2023-02-082306. Naming a Company | LeetCode Hard



Tags:
coding
leetcode
competetive
programming