VALIDATE BINARY TREE NODES | LEETCODE # 1361 | PYTHON SOLUTION

Опубликовано: 16 Октябрь 2024
на канале: Cracking FAANG
2,537
46

In this video we are solving an interesting Tree based question: Validate Binary Tree Nodes (Leetcode # 1361).

This question seems like a straightforward Tree question until you realize that the input is not given as a standard tree and we need to perform some quite interesting validation here to make sure we have a valid tree. There are a ton of edge cases that are quite easy to miss so make sure you watch the video carefully so you don't miss one and fail your interview.