Delete Leaves With a Given Value (LeetCode 1325)
MediumLeetCode 1325 · Tree Modification · Google, Amazon +2 · 12:42Delete Leaves With a Given Value · Simple Story To Code · Leetcode 1325My 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 1325 Delete Leaves With a Given Value by codestorywithMIK: Trees, Medium. Topics: Tree, Depth-First Search, Binary Tree. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Tree, Depth-First Search, Binary Tree
- Patterns
- Tree Modification, General Recursion on Trees
- Chapter
- Trees
- Duration
- 12:42
Related problems
- Time Needed to Inform All Employees (LeetCode 1376)
- Delete Nodes And Return Forest Solved (LeetCode 1110)
- Find Leaves Of Binary Tree (LeetCode 366)
- Binary Tree Pruning (LeetCode 814)
- Add One Row to Tree (LeetCode 623)
- 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)