MOST FREQUENT SUBTREE SUM | LEETCODE # 508 | PYTHON POSTORDER BFS SOLUTION

  Рет қаралды 931

Cracking FAANG

Cracking FAANG

Күн бұрын

In this video we are solving an interview question currently being asked at Apple and Amazon: Most Frequent Subtree Sum (Leetcode # 508).
This is yet another question which can be solved in the familiar post order DFS pattern so the solution should be nothing new to regular viewers of this channel!

Пікірлер: 3
@subee128
@subee128 8 ай бұрын
Thanks
@ajayraghunath2298
@ajayraghunath2298 Жыл бұрын
Thanks for the solution. I think the lines 24 to 29 are not really needed
@HalfCowHalfMan
@HalfCowHalfMan 2 жыл бұрын
Thanks for the vid! Just wondering is this the fastest implementation algorithm or is there another method?
BINARY TREE LEVEL ORDER TRAVERSAL | PYTHON SOLUTION | LEETCODE # 102
12:03
Find Duplicate Subtrees - Leetcode 652 - Python
14:33
NeetCodeIO
Рет қаралды 18 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
小丑和白天使的比试。#天使 #小丑 #超人不会飞
00:51
超人不会飞
Рет қаралды 46 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 12 МЛН
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 144 М.
Diameter of a Binary Tree - Leetcode 543 - Python
15:34
NeetCode
Рет қаралды 231 М.
The Black Box Method: How to Learn Hard Concepts Quickly
14:09
Colin Galen
Рет қаралды 1,1 МЛН
What REALLY is Data Science? Told by a Data Scientist
11:09
Joma Tech
Рет қаралды 3,8 МЛН
London to Berlin by Eurostar High Speed & European Sleeper Train!
25:21
Beginner React.js Coding Interview (ft. Clément Mihailescu)
36:31
Ben Awad
Рет қаралды 2,1 МЛН
UNIQUE PATHS 2 | LEETCODE 63 | PYTHON DFS SOLUTION
11:19
Cracking FAANG
Рет қаралды 216
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20