@@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.
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.
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?
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.
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.
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
I don't really understand the end. He fails the assesement and has a minor bug in his program. Was failing a leetcode hard question really so shaming that you got emotional?
you could be at least 2x as productive if you switch to Intellij/vscode. it looks like for almost a half of your time you are manually formatting code or entering/escaping/switching modes
The payout at the end, beautiful. If I wasn't there to see it live I would have thought it was scripted.
Primeagen always finds a way to make me feel passionate about programming once again
00:10:48
CAUTION: Light mode ahead!
My eyes 😵
You can temporarily switch to C++ and check the signature of a function. This way, you will see whether "t" can be negative.
Neat
Seems like we have a pro
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
the ‘stache tugging has to be censored in japan
Not sure how I felt about it... confused
that is some badass editing on the stache slapping... honestly, kudos to you.............
We NEED to run ads in interviews....
Sponsored ads INSIDE interviews = GOLD!!!
2:37:51
i’ve been laughing for a while now😂😂😂😂😂😂 always happens during an interview
I felt you looking into my soul there at the start. lmao that eye contact.
The only RUclipsr who can make you watch a 5 hour video
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?
@@John-lw7bz
it was 5 hours before he edit it , i see the first one
hard to speed up at all compared to other RUclipsrs.
@@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.
@@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
Really enjoyable, you could make a series of videos like this where you solve problems on leetcode 😁
This is actually motivating honestly
we are primeagen fans of course we enjoy mustache ASMR in the first minute of the video
Best stream you've done by far
i closed my eyes when you were doing the mustache test,🤣🤣👍
That debounce implementation was brilliant!
Thanks!
i would love to interview someone with this type of energy, esp when he started the first hard question
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 RUclips push. Incredible.
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?
You’re such a Character PRIM3! Just my kind of humor!
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!
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.
@ThePrimeTime Our favorite nerd.
Mustache loop iterations at the beginning xD
0:28 peak prime
Haven't seen much of this guy. Liked and subbed for this moment.
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?
As a man with facial hair i can tell that mustache is as real as it gets!
1:46:17 Primeagen when my mom comes to my room😄
I feel so loved and understood to know that im not the only one with experiences like question 2
bro next time we need a timer on the screen. elevates the stream
@@Achter. Great call
Ah. Like simpleflips
Set up stream when?
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.
Yeah that's what I was thinking, so t is absolute value in effect.
it said you "add or subtract 1 t times" and it doesn't really make sense to subtract 1 -5 times
Yes it does. 1 times - 5 is - 5
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.
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.
Hope he doesn't commit to this bit
lol
Funny how it’s at 69 and holding.
It was holding at 69 lol
Shave the mustage
14:40 that's when i clicked 👍
You should start the (potentially longer) timer before starting to read the question, not when you already think you have a solution
why am i so freaked out when he is about to hit that submit button.
0:09 Starting off with Marvel83' song, gonna be a good watch 🙏
Actually slower than Devin feels bad man
Its like a jigsaw game programming edition
Prime, When are you trying Odin?
Educational. Primagen courses are like this?
And that is how you start a video
1:44:07 does one medium leet code already getting targeted ads from Northrup Grumman
Memoize with DFS on that last one would've been the optimization the TLE was looking for.
what is the name of the app prime is using at 14:28
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
The broken English really sells it.
Lots of edge cases missed, but entertaining!
I would hire Primagen just for the company culture he would breed :D
[ 3:01 ] Windows wouldn't let you delete that.
Flashbang! Flashbang! FLASHBANG!
How did time exceed when he submitted it with plenty of time left??
Its like DDL is method acting as a proframmer
I got to know the meaning of o7
o7 to this guy!!
i sweat even looking at leetcode.
mom I'm just trying to learn how to leet code 0:0:35
So rm -rf did not kill the stream ?
...wait for it 14:57 😆 😵💫
Oh it's a urinal, I thought it was a cubicle at first
@ThePrimeTime Your every pose is so memeable.
formal wearing why ?
This is such a stupid challenge, i like it a lot :D
0:25 - he had to make weird - arrgh...
Gooning with a mustache isn’t weird. I do that every single day
The name is freakagen
How is there any risk here? Dot files are in git. Real risk: delete all remote repos and rm root.
0:22 Now I wish that it was fake
Wow - hardcore mode?
BRAZIL MENTIONED!
the "show pits..." statement...
Why this video's category belongs to Path of Exile 2 lmao😅
Yet he still thinks this is a good way to conduct an interview. Adding pressure on top of an already stressful situation. FUN!!!
The name... is TheNoOsAgen
Rougelike
3:40:37 I couldn’t help myself
I'm confused, is Prime actually looking for a job or just joking around?
that mustache check was way too long
00:20 Maybe?
the end is not what you think
00:00:25 somebody call karen
3:39:04 spoiler alert
You are going to lose the job because of the light mode.
WHITE BOARDING HAVE NO AUTO COMPLETE!
CHEATER!
MY EYES AAAAH
Take my YT PREMIUM
👨🚀
So pensive.
this is great lol
Im better then Prime at leeeetcode less go :D. The max achievable number is a mind breaker though ^.^
I don't really understand the end. He fails the assesement and has a minor bug in his program. Was failing a leetcode hard question really so shaming that you got emotional?
tbh its not that hard a question, and part of the reaction is for dramatic effect.
you could be at least 2x as productive if you switch to Intellij/vscode. it looks like for almost a half of your time you are manually formatting code or entering/escaping/switching modes
mouse toucher
K.
nearly 700K subscribers and you need a job? gotta be a joke.
Nice detective work.
every-one-knowy-it-was-joke
Lmao