Amount of Time for Binary Tree to Be Infected (LeetCode 2385) – Part 1
MediumLeetCode 2385 · Tree as Graph · Google, Amazon +11 · 29:25Amount of Time for Binary Tree to Be Infected · Using BFS · Leetcode 2385My 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 1 of 2) for LeetCode 2385 Amount of Time for Binary Tree to Be Infected 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
- 29:25
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)
- All Nodes Distance K in Binary Tree (LeetCode 863)
- Validate Binary Tree Nodes (LeetCode 1361)
- Find Largest Value in Each Tree Row (LeetCode 515)
- Count the nodes at distance K from leaf