In this video we'll be solving Leetcode problem # 314: Binary Tree Vertical Order Traversal. This is quite a simple problem once you realize how to apply some abstract reasoning to the problem space in order to solve the question.
It uses a standard BFS approach to solve the problem with a bit of a twist.
16 сен 2024