SUBTREE OF ANOTHER TREE | LEETCODE # 572 | PYTHON DFS SOLUTION
ฝัง
- เผยแพร่เมื่อ 20 ต.ค. 2024
- In this video we are solving an interesting recursive tree question dealing with whether or not a tree is a subtree of another tree: Subtree of Another Tree (Leetcode # 572).
There's a few edge cases we need to be aware of here but in general this question is pretty straightforward and there's not too much complicated to handle here.