This video is a solution to LeetCode 814, Binary Tree Pruning. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python.
Comment below if you have a better solution to this problem!
Let me know if you have any feedback and don't forget to subscribe for more videos!
Time stamps:
0:00 Question Explained
1:36 Solution explained
8:56 Python code
Code:
https://leetcode.com/problems/binary-...)
More leetcode questions solved:
• Add and Search Word - Data structure desig...