Tap to unmute

🚨🚨 Hardcore Leetcode - rm -rf if I fail once 🚨🚨

  Рет қаралды 239,123

ThePrimeTime

ThePrimeTime

Күн бұрын

Пікірлер: 171
@k0ns0l
@k0ns0l 13 күн бұрын
00:10:48 CAUTION: Light mode ahead!
@Luther_Luffeigh
@Luther_Luffeigh 12 күн бұрын
My eyes 😵
@AkashChowdhuryAkash
@AkashChowdhuryAkash 13 сағат бұрын
Thanks
@danielvega646
@danielvega646 12 күн бұрын
Primeagen always finds a way to make me feel passionate about programming once again
@lrbn8696
@lrbn8696 7 күн бұрын
13:16 - Score of a String [EASY #1] 32:29 - Find the Maximum Achievable Number [EASY #2] 1:20:00 - Debounce [MEDIUM #1] 1:49:11 - Merge Nodes in Between Zeros [MEDIUM #2] 2:17:39 - Unique Paths III [HARD #1] 3:02:50 - Maximum Score Words Formed by Letters [HARD #2]
@allesarfint
@allesarfint 13 күн бұрын
The payout at the end, beautiful. If I wasn't there to see it live I would have thought it was scripted.
@genkoph
@genkoph 13 күн бұрын
the ‘stache tugging has to be censored in japan
@andrewm4894
@andrewm4894 10 күн бұрын
Not sure how I felt about it... confused
@AmineTiba
@AmineTiba 2 күн бұрын
@@andrewm4894 it just was too many seconds too long
@mohitjee
@mohitjee Күн бұрын
@@AmineTiba I think he wanted to make a point.
@egor.okhterov
@egor.okhterov 13 күн бұрын
You can temporarily switch to C++ and check the signature of a function. This way, you will see whether "t" can be negative.
@antoineleduc7611
@antoineleduc7611 13 күн бұрын
Neat
@BhavyaGaur-kf7yg
@BhavyaGaur-kf7yg 12 күн бұрын
Seems like we have a pro
@andrewf8366
@andrewf8366 8 күн бұрын
Do they always use the proper type in c++. My memory is saying they almost always used int regardless of it it was necessary to be signed
@omri9325
@omri9325 Күн бұрын
Pro tip
@yoshmeme931
@yoshmeme931 5 күн бұрын
Honestly thought these leetcode goons were just going on here understanding the problem immediately and then implementing a solution. Its reassuring to see someone like Prime get caught up for a moment and have solve it like a human
@Gvantos0
@Gvantos0 14 күн бұрын
The only KZbinr who can make you watch a 5 hour video
@John-lw7bz
@John-lw7bz 13 күн бұрын
It's 3h 47m and if you're worth your salt you speed it up sometimes to skip the post where nothing happens. Why did you say 5 hours?
@Gvantos0
@Gvantos0 13 күн бұрын
@@John-lw7bz it was 5 hours before he edit it , i see the first one
@astrohgamingZero
@astrohgamingZero 13 күн бұрын
hard to speed up at all compared to other KZbinrs.
@John-lw7bz
@John-lw7bz 12 күн бұрын
@@Gvantos0 :o he edits and he doesn't take out all the thanking of subs etc? This guy. Just leave the original up then if you're only going half assed with the edit.
@John-lw7bz
@John-lw7bz 12 күн бұрын
@@astrohgamingZero I speed up or skip the away from the desk or long talking to chat segments. it's not a trivial amount of time
@dedkeny
@dedkeny 12 күн бұрын
We NEED to run ads in interviews.... Sponsored ads INSIDE interviews = GOLD!!!
@ninjaasmoke
@ninjaasmoke 12 күн бұрын
2:37:51 i’ve been laughing for a while now😂😂😂😂😂😂 always happens during an interview
@dedkeny
@dedkeny 12 күн бұрын
that is some badass editing on the stache slapping... honestly, kudos to you.............
@FRanger92
@FRanger92 12 күн бұрын
I felt you looking into my soul there at the start. lmao that eye contact.
@GamePlay-pl2nv
@GamePlay-pl2nv 10 күн бұрын
i closed my eyes when you were doing the mustache test,🤣🤣👍
@charlesamschel2718
@charlesamschel2718 12 күн бұрын
Thanks!
@KRABSTIK
@KRABSTIK 12 күн бұрын
Best stream you've done by far
@Exilum
@Exilum 10 күн бұрын
48:45 To me the worst part about the submission Prime wrote is that if t could be negative it'd be num - t*2, not num. That was really unnecessary risk when you could check both for 0 and negative, especially with rm -rf inbound.
@nelsoncruz-os7nz
@nelsoncruz-os7nz 8 күн бұрын
Super impressive. Thanks for this. You never end helping us out here.
@Chrisxantixemox
@Chrisxantixemox 11 күн бұрын
The Devin AI bills must he piling up with 2 ads every 20 seconds of this video. This is actually the most ads ive ever seen KZbin push. Incredible.
@david23627
@david23627 10 күн бұрын
we are primeagen fans of course we enjoy mustache ASMR in the first minute of the video
@aryaman3083
@aryaman3083 13 күн бұрын
0:28 peak prime
@notoriouspc
@notoriouspc 13 күн бұрын
Haven't seen much of this guy. Liked and subbed for this moment.
@LunaStorta-u2x
@LunaStorta-u2x 13 күн бұрын
Really enjoyable, you could make a series of videos like this where you solve problems on leetcode 😁
@danielvega646
@danielvega646 9 күн бұрын
That debounce implementation was brilliant!
@projectodemayhem
@projectodemayhem 13 күн бұрын
1:44:07 does one medium leet code already getting targeted ads from Northrup Grumman
@GaneshPalraj1991
@GaneshPalraj1991 13 күн бұрын
@ThePrimeTime Our favorite nerd.
@Visitor______________________v
@Visitor______________________v 8 күн бұрын
This is actually motivating honestly
@georgeindestructible
@georgeindestructible 13 күн бұрын
Mustache loop iterations at the beginning xD
@CadeHXH
@CadeHXH 12 күн бұрын
48:50, for this problem I just wanted to ask: If t could be negative, wouldn't just returning num be incorrect? If we have num = 10, and t = -5: If you decrease num by -5, its like subtracting -5, so we add 5 to 10 to get 15 We can use this logic to say our maximum achievable number is 20 because we can increase num by -5, which is adding -5, so we subtract 5 from 20 to get 15 as well.
@Cookstein2
@Cookstein2 12 күн бұрын
Yeah that's what I was thinking, so t is absolute value in effect.
@miezekatze3536
@miezekatze3536 12 күн бұрын
it said you "add or subtract 1 t times" and it doesn't really make sense to subtract 1 -5 times
@Cookstein2
@Cookstein2 12 күн бұрын
Yes it does. 1 times - 5 is - 5
@AbuDoujana
@AbuDoujana 3 күн бұрын
@@Cookstein2 the t represents how many times you can apply the action not a number you multiply by, you cannot apply an action -5 times.
@voobies
@voobies 9 күн бұрын
i would love to interview someone with this type of energy, esp when he started the first hard question
@Mrgreatestfreakout
@Mrgreatestfreakout 11 күн бұрын
Hey Prime, could you please tell me what tools are you using to whiteboard your solutions? Is it Wacom tablet and pencil? Or Ipad and pencil?
@Cvar00
@Cvar00 6 күн бұрын
He uses GIMP and his mouse, no tablets
@XDarkGreyX
@XDarkGreyX 4 күн бұрын
I would use the cheapest wacom. Can't draw/write with mouse
@DecardCain
@DecardCain 11 күн бұрын
1:46:17 Primeagen when my mom comes to my room😄
@Faisal-jo5vk
@Faisal-jo5vk 6 күн бұрын
can someone explain that last part, didn't he solve/get the problem correct?? also what did he change in that code plz someone explain
@hellokittyboy
@hellokittyboy Күн бұрын
Yeah...so combinatorics normally mean trying all possible solutions (there's only so many possible problems to solve basically) that can get expensive if you think about x^n problems where at each step you have x possible choices. With dynamic programming there's normally overlapping sub problems, that's what ends up making the problems solvable. You can see this if you draw out the problem tree - you may have solved the problem of getting from a square to the end so no reason to re-compute that. That's what top-down DP is (I find that easier....) - there's also bottom up where all the square are filled in basically. That can be solved too a lot of time that requires practice.....There's other parts of computer science too besides algorithmic analysis (that's only one class...) I normally would ask more than just those problems. There's people that make money slapping auto-generated AI text online because they understand propaganda and don't care about big-o notation or the RAM accounting model I guess it just depends.
@MyFavTech247
@MyFavTech247 10 күн бұрын
You’re such a Character PRIM3! Just my kind of humor!
@Shogoeu
@Shogoeu 2 күн бұрын
What script does he use to capture the results of the submit?
@MikePfunk
@MikePfunk 11 күн бұрын
I learned python like 6 months ago, brand new to coding pretty much. I did the same thing until I read, 'increase num by 1, while decreasing number by 1. Then I was f'd. Unfortunately I do not have enough experience to argue why it doesn't make sense, none of them make sense.
@DarkStoorM_
@DarkStoorM_ 12 күн бұрын
0:09 Starting off with Marvel83' song, gonna be a good watch 🙏
@maydude2
@maydude2 5 күн бұрын
that's a pretty good mustache and it does not look fake
@ozgurkalay7579
@ozgurkalay7579 11 күн бұрын
As a man with facial hair i can tell that mustache is as real as it gets!
@ShootingUtah
@ShootingUtah 12 күн бұрын
Dude that last problem was pretty epic! That's got to be the quickest coding of such a complex problem I've ever seen, JS failed you!
@bob_kazamakis
@bob_kazamakis 12 күн бұрын
Set up stream when?
@perpl1618
@perpl1618 12 күн бұрын
I feel so loved and understood to know that im not the only one with experiences like question 2
@rydmerlin
@rydmerlin 8 күн бұрын
So the test inputs differ with each submission? FWIW I thought you did really really well. Which is easier reinstalling the OS or growing back your Mustache?
@Achter.
@Achter. 13 күн бұрын
bro next time we need a timer on the screen. elevates the stream
@ThePrimeTimeagen
@ThePrimeTimeagen 13 күн бұрын
@@Achter. Great call
@bob_kazamakis
@bob_kazamakis 12 күн бұрын
Ah. Like simpleflips
@abdelrahmanmansour7168
@abdelrahmanmansour7168 11 күн бұрын
what is the name of the app prime is using at 14:28
@whawiz
@whawiz 5 күн бұрын
Looks like GIMP
@victormuriithi7926
@victormuriithi7926 11 күн бұрын
why am i so freaked out when he is about to hit that submit button.
@shrirambm9527
@shrirambm9527 4 күн бұрын
Bro i watched entire this video, now i got Diarrhoea
@flanwithaq2724
@flanwithaq2724 12 күн бұрын
Its like a jigsaw game programming edition
@karthik448
@karthik448 13 күн бұрын
The real thing you should be doing is to delete your youtube channel if you fail the leetcode problem as that is what's at stake.
@__Brandon__
@__Brandon__ 12 күн бұрын
Hope he doesn't commit to this bit
@kytrst
@kytrst 11 күн бұрын
lol
@MyFavTech247
@MyFavTech247 10 күн бұрын
Funny how it’s at 69 and holding.
@MyFavTech247
@MyFavTech247 9 күн бұрын
It was holding at 69 lol
@Visitor______________________v
@Visitor______________________v 8 күн бұрын
Shave the mustage
@LtsGoBrandonGaming
@LtsGoBrandonGaming 13 күн бұрын
And that is how you start a video
@the.real.ipatch
@the.real.ipatch 8 күн бұрын
14:40 that's when i clicked 👍
@nathangwyn6098
@nathangwyn6098 4 күн бұрын
Need more LC vids PRIME! Love watching you break the problems down. I know they take more effot at the end of the day, butttt it's not all about you ^.^
@sygiii
@sygiii 12 күн бұрын
You should start the (potentially longer) timer before starting to read the question, not when you already think you have a solution
@DylanNelsonSA
@DylanNelsonSA 3 күн бұрын
We apply the operation at most t times. You can't apply the operation a negative number of times, so the question doesn't make sense at all if t is negative. (I'm not assuming that you apply it exactly t times. At most a negative number is still a negative number.)
@suhanbangera884
@suhanbangera884 12 күн бұрын
Prime, When are you trying Odin?
@charlesamschel2718
@charlesamschel2718 12 күн бұрын
Educational. Primagen courses are like this?
@thanhtupham4726
@thanhtupham4726 12 күн бұрын
very impressive bro, but our company AI able to solve all those leetcode problems in 1 seconds and it never yell when it solve them so ...Devin you got a job
@johnyewtube2286
@johnyewtube2286 12 күн бұрын
The broken English really sells it.
@broggully
@broggully 9 күн бұрын
Actually slower than Devin feels bad man
@adabujiki
@adabujiki 12 күн бұрын
[ 3:01 ] Windows wouldn't let you delete that.
@Ownedyou
@Ownedyou 10 күн бұрын
Lots of edge cases missed, but entertaining!
@Michaelblm
@Michaelblm 6 күн бұрын
You cant decrease or increase a number by 1 negative times (t) The inequality in the question is ambigous though
@timothyhoytbsme
@timothyhoytbsme 5 күн бұрын
how convenient that he picked his own challenges ;)
@ZorakWars
@ZorakWars 12 күн бұрын
Memoize with DFS on that last one would've been the optimization the TLE was looking for.
@danwroy
@danwroy 12 күн бұрын
Oh it's a urinal, I thought it was a cubicle at first
@Missing_Node
@Missing_Node 12 күн бұрын
Flashbang! Flashbang! FLASHBANG!
@christianrazvan
@christianrazvan 5 күн бұрын
U can't apply an operation -1 times , so t should be > 0 ..from the wording
@alok_shanker
@alok_shanker 9 күн бұрын
Its like DDL is method acting as a proframmer
@lakshman587
@lakshman587 11 күн бұрын
I got to know the meaning of o7 o7 to this guy!!
@gholamrezadar
@gholamrezadar 11 күн бұрын
mom I'm just trying to learn how to leet code 0:0:35
@the.real.ipatch
@the.real.ipatch 8 күн бұрын
...wait for it 14:57 😆 😵‍💫
@thefloatingrock
@thefloatingrock 12 күн бұрын
00:20 Maybe?
@gavinex
@gavinex 7 күн бұрын
FInally ytb getting the love we deserve
@reactjs1900
@reactjs1900 13 күн бұрын
formal wearing why ?
@rifathossain328
@rifathossain328 11 күн бұрын
i sweat even looking at leetcode.
@TrachealShyBu
@TrachealShyBu 11 күн бұрын
How is there any risk here? Dot files are in git. Real risk: delete all remote repos and rm root.
@LegitBanananas
@LegitBanananas 9 күн бұрын
I would hire Primagen just for the company culture he would breed :D
@friendly0
@friendly0 11 күн бұрын
How did time exceed when he submitted it with plenty of time left??
@Cvar00
@Cvar00 6 күн бұрын
His solution's time complexity wasn't good enough for the leetcode tests. Nothing to do with the 20 minute timer
@simon64301
@simon64301 5 күн бұрын
APE! Great Entertainment!
@MrFunny01
@MrFunny01 12 күн бұрын
3:40:37 I couldn’t help myself
@callmy777
@callmy777 12 күн бұрын
00:00:25 somebody call karen
@GaneshPalraj1991
@GaneshPalraj1991 13 күн бұрын
@ThePrimeTime Your every pose is so memeable.
@attentioncestpaslegal7847
@attentioncestpaslegal7847 12 күн бұрын
So rm -rf did not kill the stream ?
@lichking001
@lichking001 13 күн бұрын
This is such a stupid challenge, i like it a lot :D
@boravarol6537
@boravarol6537 12 күн бұрын
0:22 Now I wish that it was fake
@dedkeny
@dedkeny 12 күн бұрын
the "show pits..." statement...
@zer0826
@zer0826 8 күн бұрын
Wow - hardcore mode?
@bkr_418
@bkr_418 13 күн бұрын
0:25 - he had to make weird - arrgh...
@HammytheSammy-ds2em
@HammytheSammy-ds2em 13 күн бұрын
Gooning with a mustache isn’t weird. I do that every single day
@Alexey_Ladya
@Alexey_Ladya 13 күн бұрын
The name is freakagen
@dipereira0123
@dipereira0123 11 күн бұрын
BRAZIL MENTIONED!
@ldrives
@ldrives 7 күн бұрын
BRAZIL MENTIONED HUEHUEBR
@AdriReport
@AdriReport 12 күн бұрын
The name... is TheNoOsAgen
@diehenne
@diehenne 13 күн бұрын
Rougelike
@io234ujbn6tui
@io234ujbn6tui 11 күн бұрын
the end is not what you think
@paulholsters7932
@paulholsters7932 2 күн бұрын
In Europe leetcode is not a thing. You get a job when you know somebody. That's all it takes.
@totheunknownigo9550
@totheunknownigo9550 2 күн бұрын
Hhhhh man you make me dying 😂
@the.real.ipatch
@the.real.ipatch 8 күн бұрын
3:39:04 spoiler alert
@samhopkins1456
@samhopkins1456 13 күн бұрын
Yet he still thinks this is a good way to conduct an interview. Adding pressure on top of an already stressful situation. FUN!!!
@keneanalemayehu6832
@keneanalemayehu6832 12 күн бұрын
that mustache check was way too long
@colbyberger1881
@colbyberger1881 Күн бұрын
the rare bash script
@LLu-picopickle
@LLu-picopickle 9 күн бұрын
Why this video's category belongs to Path of Exile 2 lmao😅
@nightking4615
@nightking4615 4 күн бұрын
This question sounds like it was asked by an H1 B visa holder who barely speaks proper English. The goal of a programming test is not to decipher some stupid cryptic text!
@KyleVerwey
@KyleVerwey 3 күн бұрын
okay this is good lol
C++ Is An Absolute Blast
1:01:24
ThePrimeTime
Рет қаралды 177 М.
Dynamic Programming | Coin Change Problem
1:15:00
TheVimeagen
Рет қаралды 34 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
The Real 100x Dev
52:32
ThePrimeTime
Рет қаралды 272 М.
LeetCode Isnt Real | Prime Reacts
29:04
ThePrimeTime
Рет қаралды 231 М.
doing leetcode everyday until I get a job (day 86)
8:21
John Wilkins
Рет қаралды 608
They got away with this??
1:21:04
ThePrimeTime
Рет қаралды 1,7 МЛН
it's time for a change
6:26
ThePrimeTime
Рет қаралды 200 М.
This VS Code theme is threatening people?
14:26
Theo - t3․gg
Рет қаралды 135 М.
I Will Piledrive You If You Say AI Again | Prime Reacts
55:59
ThePrimeTime
Рет қаралды 394 М.
Every programming language explained in 15 minutes | Prime Reacts
43:42
System76 accidentally built the fastest Windows Arm PC
21:02
Jeff Geerling
Рет қаралды 105 М.
Biggest Scam in Youtube History
23:06
penguinz0
Рет қаралды 10 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН