Number of Good Leaf Nodes Pairs (LeetCode 1530) – Part 2
MediumLeetCode 1530 · General Recursion on Trees · Google, TikTok +1 · 31:30Number of Good Leaf Nodes Pairs · Simple DFS · Dry Run · Leetcode 1530My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution (part 2 of 2) for LeetCode 1530 Number of Good Leaf Nodes Pairs by codestorywithMIK: Trees, Medium. Topics: Tree, Depth-First Search, Binary Tree, DP on Trees. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Tree, Depth-First Search, Binary Tree, DP on Trees
- Patterns
- General Recursion on Trees
- Chapter
- Trees
- Duration
- 31:30
Related problems
- Time Needed to Inform All Employees (LeetCode 1376)
- Find Leaves Of Binary Tree (LeetCode 366)
- Binary Tree Pruning (LeetCode 814)
- Count Complete Tree Nodes -(Amazon, Microsoft, Salesforce, Meta) : Explanation ➕ Live Coding (LeetCode 222)
- Leaf-Similar Trees (LeetCode 872)
- Maximum Product of Splitted Binary Tree (LeetCode 1339)
- Same Tree (LeetCode 100)
- Find Duplicate Subtrees (Leetcode - 652) - (GOOGLE) : Explanation ➕ Live Coding (LeetCode 652)