Перейти к содержимому

BINARY TREE VERTICAL ORDER TRAVERSAL | PYTHON SOLUTION EXPLAINED | LEETCODE 314

Cracking FAANG

0:00 / 0:00

BINARY TREE VERTICAL ORDER TRAVERSAL | PYTHON SOLUTION EXPLAINED | LEETCODE 314

18 088 просмотров · 4 г. назад
Cracking FAANG
34,9 тыс. подписчиков
18 088 просмотров · 4 г. назад
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.