Count the nodes at distance K from leaf
Tree as Graph · 45:502 Approaches · Simple Dry Run · GFG POTDMy notes
Sign in to keep private notes on every station, with video timestamps.
About this video
Video lecture "Count the nodes at distance K from leaf" by codestorywithMIK, part of the Trees chapter of the Data Structures & Algorithms course (45:50).
- Patterns
- Tree as Graph, General Recursion on Trees
- Chapter
- Trees
- Duration
- 45:50
Related problems
- Time Needed to Inform All Employees (LeetCode 1376)
- Check Completeness of a Binary Tree (BFS) - (Meta, Amazon) : Explanation ➕ Live Coding (LeetCode 958)
- 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)