High Definition Standard Definition Theater
Video id : l956KaTbB4g
ImmersiveAmbientModecolor: #c4c9c6 (color 2)
Video Format : (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: 140 ( High )
PokeEncryptID: 4b94ae3e7c4121fce58dadc9572213394e8eccc160228cf172075e072f9bc7ccce719e42fcaf06a540eefad0412fab77
Proxy : cal1.iv.ggtyler.dev - refresh the page to change the proxy location
Date : 1732727200553 - unknown on Apple WebKit
Mystery text : bDk1NkthVGJCNGcgaSAgbG92ICB1IGNhbDEuaXYuZ2d0eWxlci5kZXY=
143 : true
Leetcode 2798 - Number of Employees Who Met The Target
 60 FPS video
64,652 Views • Oct 31, 2024 • Click to toggle off description
Leetcode 2798 - Number of Employees Who Met The Target
Metadata And Engagement

Views : 64,652
Genre: Education
Uploaded At Oct 31, 2024 ^^


warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
Rating : 4.848 (115/2,914 LTDR)

96.20% of the users lieked the video!!
3.80% of the users dislieked the video!!
User score: 94.30- Overwhelmingly Positive

RYD date created : 2024-11-27T15:51:57.007438Z
See in json
Tags
Connections
Nyo connections found on the description ;_; report an issue lol

31 Comments

Top Comments of this video!! :3

@GregHogg

3 weeks ago

Master data structures and algorithms for FREE at algomap.io/ :)

9 |

@Abstract_zx

3 weeks ago

So the reason they ask this question is clear. Too many people will overthink this problem and end up with a bad solution rather than doing this simple solution. They want people who can quickly recognize that the best solution is the simple one rather than attempting to overthink or overanalyze it.

36 |

@MrNuganteng

3 weeks ago

in my sleep deprived state of mind, I can even comprehend the question.

24 |

@adityaanuragi6916

3 weeks ago

EDIT : it's actually O(1) space that's not a tuple it's a generator object instead, thx replies

Since you've created a tuple the space is O(n)

Now if you actually wanted constant space you'd do this =>

sum = 0
for hour in hours:
if hour >= target:
sum+=1
return sum

60 |

@RayTracingX

3 weeks ago

In that python code, why in this case [7,3,1,2] and target = 3 the answer is 10 (7+3=10) whereas the answer should be 2???

3 |

@muhamadhafiz25

1 week ago

show the full question dude

|

@rishabhshenoy3258

3 weeks ago

Question for post of watchman 😂

2 |

@decky1990

3 weeks ago

O(n) seems easy enough, but I wonder if (depending on he container) there's an O(1) binary operation that could do it...

3 |

@kpr3729

3 weeks ago

I have no idea why it is considered as O(1)

1 |

@HhddGufif

3 weeks ago

The question is probably how you choose to implement sum() and the condition. You could define sum(args ...) or some kind of lambda condition for sumwhen over a iterable collection i guess

|

@faizahmad8738

3 weeks ago

Hey I can edit your videos for you professionally

1 |

@WoWUndad

2 weeks ago

Buddy you werent asked this problem. I was asked a 2 server satalite questions that were variations of monotonic stack strength of wizards of whatever as a new grad. Why lie that you were asked leetcode easys when amazon only asks ultra hard, before the behaivioral and the system design test where they basically ask you electrical engineering questions for stoplights and what software youd use on a 1--5 scale. Maybe i was given the 20 years of experience interview? Idk i took 3 amazon interviews last year for internships and even copying the 150 line java answers from some indian chatroom there wasnt enough time (1 hr for 2 leetcode ultra hards)

1 |

@tzdracarys6906

3 weeks ago

Why can't we solve with binary search we can reduce the complexity log n right

8 |

@aerykfilmsphoto

3 weeks ago

There’s gotta be some kind of stupid gotcha

|

Go To Top