So is any problem that can be solved with recursion a dp problem?
@TheWarTurkey3 ай бұрын
I'm also wondering this. I get recursion, but I still don't understand what "dynamic programming" is 😅
@verdikapuku2596Ай бұрын
Yes essentially. DP is essentially recursion problems with memoization
@sugaaah-c7h3 ай бұрын
so those top interview 150 problems on leetcode is enough even for beginners besides the books
@tlea76434 ай бұрын
This is the good stuff! Super helpful - awesome video
@edgaraguilera18244 ай бұрын
The best explanation of dynamic programming I have seen. Thanks!
@user-zj9pq5xc7x4 ай бұрын
amazing explanation, thanks
@Lingua_Mosaic4 ай бұрын
Good job Matt.
@sul-dev4 ай бұрын
How can a junior get a job in this market?
@SOH-bl4mr4 ай бұрын
I have no clue what dynamic programming is. Do you enjoy cheese?
@haroldoaltamirano45004 ай бұрын
so helpful thanks. I'm at a small company rn
@aleph10574 ай бұрын
Hey look, a randomly recommended short that is actually good!
@antoniong43804 ай бұрын
Cool. Now explain it again, but in english
@tintlost21604 ай бұрын
=o this is cool, but what if the alien language dont use a sorting rule
@notnotjake5 ай бұрын
Great stuff thanks
@THK0705 ай бұрын
Great explanation. Please upload for other DS especially recursion
@TheSauceyGod5 ай бұрын
Bro is just tryna slander and talk about him getting laid with onlyfans model come on bro you legit know nothing about him just a tech guy calm down you don’t look like you get play either
@skaramicke5 ай бұрын
The answer would be that it doesn’t matter what the drop height it can sustain is because you can’t lower the ceiling in the intended installation location so instead you make the mounting system capable of holding 10x the weight of the camera to be sure.
@victorsteele420695 ай бұрын
slander!
@victorsteele420695 ай бұрын
croag
@comp5 ай бұрын
stop leeching, he hung out with them for a week during an Stream Event. He didnt even know what was going on.
@shirafudee5 ай бұрын
NWA
@MartinDxt5 ай бұрын
Drop it from 1mm if doesn’t sustain any damage it’s as if u start over but know it survives a 1mm drop. drop it again from 2mm and keep going till it breaks! accurate within a mm
@sunshin3man5 ай бұрын
read documentation, contact the manufacturer.
@SindhuKhrisna5 ай бұрын
Drop it repeatedly from lowest height until it breaks. The last height the camera survive will be the max mounting height. Make sure to have a higher resolution in the iteration to ensure accuracy
@bishalStha-ib2qo5 ай бұрын
Use physics.
@WebMafia5 ай бұрын
# with the vague definition of input data, # i assumed that input data is a string with # arbitrary number of integers and whitespaces import re match: re.Match = re.match(r"nums\s*=\s*\[(-?\d+(?:\s*,\s*-?\d+)*)\]\s*,\s*k\s*=\s*(\d+)", input()) num: list[int] = [int(x) for x in ''.join(filter(lambda sym: not sym.isspace(), match.group(1))).split(',')] # list of ints from a mess of CSV numbers and whitespaces k: int = int(match.group(2)) elems: set[int] = set(num) frequencies: dict[int, int] = {y: num.count(y) for y in elems} numbers_by_freq: list[int] = [*map(lambda pair: pair[0], sorted(frequencies.items(), key=lambda pair: -pair[1]))] print(numbers_by_freq[:k])
@userct5 ай бұрын
leetcode is trash, it means nothing, just because you resolved a problem in there doesn't mean you can do anything at your job lol
@nickywh1t35 ай бұрын
I feel attacked. I swear I wasn’t there!
@Lingura1235 ай бұрын
Drop it from the height of the ceiling, since that is the max height available. If it breaks, it will no longer be mounted at ceiling level.
@nickmcgookin2475 ай бұрын
The anwers is 0
@deadjuice18805 ай бұрын
"Sir, I patched your coffee cup so that it doesn't drop." This has to be a test for problem solving, which is a skill in coding. Otherwise, it makes no sense.
@lukeporter85745 ай бұрын
Wouldn't the solution just be to take one of the cameras and to drop it at a height of 1 inch, see if it breaks, raise it another inch and repeat until you find the drop height where it will break?
@MrAdam-ry2rh5 ай бұрын
That was my thought... Also, if a camera is mounted correctly, it won't fall.
@BandidoDescalzo5 ай бұрын
You would have to wait long enough between each fall for it to regain the health lost from fall damage last time you dropped it.
@y0y4y05 ай бұрын
@@BandidoDescalzo no, it's the camera, and that can even go through walls!
@florianherzog42945 ай бұрын
that's the math approach. Now you only have to explain why you dropped expensive equipment onto the floor six times for no good reason
@MrAdam-ry2rh5 ай бұрын
@florianherzog4294 the reason would be to answer the question I was asked to solve/answer.
@Anonymoose6665 ай бұрын
Refer to the manual
@Wonderwall6275 ай бұрын
Why would a mounted camera need to be able survive a fall? Shouldn't the proper mounting prevent the fall in the first place?
@taylorplummer91855 ай бұрын
I would calculate the tensile strength of the materials involved and the rate of gravity, but i can't say I'd be right
@sendmepackets5 ай бұрын
NICK WHITE IS YOUR SLAVEMASTER
@m4rt_5 ай бұрын
def fib(n, a = 1, b = 1): if n <= 0: return a return fib(n - 1, b, a + b)
@bonifackener39435 ай бұрын
Datastructures something something.. recursion using stack in the background can be a problem for big numbers.
@bonifackener39435 ай бұрын
But it is an elegant solution
@bofasofa93995 ай бұрын
Get a grip Mr Feast made you.
@iwasgroomed5 ай бұрын
if it was all girls there then sure they should of done something but there was a man. the man failed to act, hes a failure of a man
@hercegovac99995 ай бұрын
Bro is so down fr 😭💀
@JosephHeath-on1to5 ай бұрын
If the women drowns they all can be charged it goes along with felony tim
@TheSauceyGod5 ай бұрын
Bruh that’s not the same dude chin and sloppy face and chest yeah don’t believe every thing on the internet this channel is one of them
@TomatthAbyss5 ай бұрын
NO WAY ITS HIM
@TheSauceyGod5 ай бұрын
It’s not they don’t even look similar
@comp5 ай бұрын
@@TheSauceyGod it is, but Nickwhite had no idea what was happening til after the fact
@TheSauceyGod5 ай бұрын
@@comp still mad that he is tryna slander his reputation and saying he only there with onlyfans model just to hit bro is just trying to seem cool
@andymoore40465 ай бұрын
If they let a woman drowned they should be in JAIL!😢
@dxception8265 ай бұрын
There’s a law that specifically protects a person in the scenario that they see someone in trouble and decide not to help. They have no legal obligation to help someone in danger. The only time you are legally obligated to help someone in need is if it is your job or your child.
@NoName-ki5gh5 ай бұрын
This is Nick Whites lawyer here, please delete this slanderous video in 15 mins or we will be suing you for defamation.
@itsokiluvu90945 ай бұрын
Quit ur job
@pepsibIue5 ай бұрын
This is Mattsguesttech lawyer here, please delete this slanderous comment here in 15 minutes or I will be suing you for being cringe.
@the_negus5 ай бұрын
I am not a lawyer, please delete this comment and stfu. Thanks 😊
@purpleblaze4205 ай бұрын
Bro that's actually insane 😂
@matthewherrmann95265 ай бұрын
That's a good troll, you almost got me.
@neckbro6 ай бұрын
Still, if it is going to speed up work for a developer by 25% and next year a company was planning to hire 4 devs, they are going to hire just 3, so here is one job position gone, unless they allow people to enjoy extra free time or am i wrong?
@neckbro6 ай бұрын
Nice one
@prudhvi_reddy6 ай бұрын
Can you upload these kinds of videos as a playlist for other DS. Thanks for your explanation