2458. Height of Binary Tree After Subtree Removal Queries - Day 26/31 Leetcode October Challenge

  Рет қаралды 956

Programming Live with Larry

Programming Live with Larry

Күн бұрын

Пікірлер: 8
@Algorithmist
@Algorithmist 28 күн бұрын
Were you able to remove all the correct subtrees?
@dampdigits.69
@dampdigits.69 28 күн бұрын
Struggling with TLEs :)
@dampdigits.69
@dampdigits.69 28 күн бұрын
I solved it ! took a lot of time and hints but got it :)
@jegadheeswarank6290
@jegadheeswarank6290 28 күн бұрын
Day 26 of solving leetcode problem till i get a job. Your explanation is good.. i have solved it using brute force approach.. i came up with optimal approach but couldn't able to code by myself..
@soumyajitganguly2593
@soumyajitganguly2593 28 күн бұрын
I kind of did a branched brute force for this one. NlogN but separate code for wide trees vs deep trees. Maybe this is similar to what you solved 2 yrs back..
@genghisda236
@genghisda236 23 күн бұрын
can u write in one sentence what is 'max_other' variable ? is it the max length starting from root node, for every node ?
@Algorithmist
@Algorithmist 21 күн бұрын
I describe it in the video, though not super clearly - it is the max that is from a branch not the parent's
@JathinShyam
@JathinShyam 28 күн бұрын
good one
2684. Maximum Number of Moves in a Grid - Day 29/31 Leetcode October Challenge
11:31
Programming Live with Larry
Рет қаралды 448
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 133 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
2463. Minimum Total Distance Traveled - Day 31/31 Leetcode October Challenge
24:20
Programming Live with Larry
Рет қаралды 1 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 116 М.
Coding Unbreakable Encryption in C | One-Time Pad
17:42
HirschDaniel
Рет қаралды 4,3 М.
LOWEST COMMON ANCESTOR OF A BINARY TREE I | PYTHON | LEETCODE 236
12:48
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 736 М.
Making an Algorithm Faster
30:08
NeetCodeIO
Рет қаралды 147 М.
Why Didn't He Get the Job? Let's Find Out! // Code Review
27:25
The Cherno
Рет қаралды 148 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33