All Nodes Distance K in Binary Tree (LeetCode 863)
MediumLeetCode 863 · Tree as Graph · Google, Amazon +16 · 21:59All Nodes Distance K in Binary Tree · Approach-1 · Leetcode-863 · AMAZON · Explanation ➕ Live CodingMy 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 for LeetCode 863 All Nodes Distance K in Binary Tree by codestorywithMIK: Trees, Medium. Topics: Hash Table, Tree, Depth-First Search, Breadth-First Search. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree
- Patterns
- Tree as Graph
- Chapter
- Trees
- Duration
- 21:59
Related problems
- Time Needed to Inform All Employees (LeetCode 1376)
- Check Completeness of a Binary Tree (BFS) - (Meta, Amazon) : Explanation ➕ Live Coding (LeetCode 958)
- Maximum Width of Binary Tree (LeetCode 662)
- Maximum Level Sum of a Binary Tree (LeetCode 1161)
- Validate Binary Tree Nodes (LeetCode 1361)
- Find Largest Value in Each Tree Row (LeetCode 515)
- Amount of Time for Binary Tree to Be Infected (LeetCode 2385)
- Count the nodes at distance K from leaf