So is any problem that can be solved with recursion a dp problem?
@TheWarTurkeyАй бұрын
I'm also wondering this. I get recursion, but I still don't understand what "dynamic programming" is 😅
@sugaaah-c7hАй бұрын
so those top interview 150 problems on leetcode is enough even for beginners besides the books
@tlea76432 ай бұрын
This is the good stuff! Super helpful - awesome video
@edgaraguilera18242 ай бұрын
The best explanation of dynamic programming I have seen. Thanks!
@user-zj9pq5xc7x2 ай бұрын
amazing explanation, thanks
@Lingua_Mosaic2 ай бұрын
Good job Matt.
@sul-dev2 ай бұрын
How can a junior get a job in this market?
@SOH-bl4mr2 ай бұрын
I have no clue what dynamic programming is. Do you enjoy cheese?
@haroldoaltamirano45002 ай бұрын
so helpful thanks. I'm at a small company rn
@aleph10572 ай бұрын
Hey look, a randomly recommended short that is actually good!
@antoniong43802 ай бұрын
Cool. Now explain it again, but in english
@tintlost21602 ай бұрын
=o this is cool, but what if the alien language dont use a sorting rule
@notnotjake2 ай бұрын
Great stuff thanks
@THK0703 ай бұрын
Great explanation. Please upload for other DS especially recursion
@TheSauceyGod3 ай бұрын
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
@skaramicke3 ай бұрын
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.
@victorsteele420693 ай бұрын
slander!
@victorsteele420693 ай бұрын
croag
@comp3 ай бұрын
stop leeching, he hung out with them for a week during an Stream Event. He didnt even know what was going on.
@fantasyvimmienskrrt74283 ай бұрын
NWA
@MartinDxt3 ай бұрын
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
@sunshin3man3 ай бұрын
read documentation, contact the manufacturer.
@SindhuKhrisna3 ай бұрын
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-ib2qo3 ай бұрын
Use physics.
@WebMafia3 ай бұрын
# 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])
@userct3 ай бұрын
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
@nickywh1t33 ай бұрын
I feel attacked. I swear I wasn’t there!
@Lingura1233 ай бұрын
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.
@nickmcgookin2473 ай бұрын
The anwers is 0
@deadjuice18803 ай бұрын
"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.
@lukeporter85743 ай бұрын
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-ry2rh3 ай бұрын
That was my thought... Also, if a camera is mounted correctly, it won't fall.
@BandidoDescalzo3 ай бұрын
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.
@y0y4y03 ай бұрын
@@BandidoDescalzo no, it's the camera, and that can even go through walls!
@florianherzog42943 ай бұрын
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-ry2rh3 ай бұрын
@florianherzog4294 the reason would be to answer the question I was asked to solve/answer.
@Anonymoose6663 ай бұрын
Refer to the manual
@Wonderwall6273 ай бұрын
Why would a mounted camera need to be able survive a fall? Shouldn't the proper mounting prevent the fall in the first place?
@taylorplummer91853 ай бұрын
I would calculate the tensile strength of the materials involved and the rate of gravity, but i can't say I'd be right
@sendmepackets3 ай бұрын
NICK WHITE IS YOUR SLAVEMASTER
@m4rt_3 ай бұрын
def fib(n, a = 1, b = 1): if n <= 0: return a return fib(n - 1, b, a + b)
@bonifackener39433 ай бұрын
Datastructures something something.. recursion using stack in the background can be a problem for big numbers.
@bonifackener39433 ай бұрын
But it is an elegant solution
@bofasofa93993 ай бұрын
Get a grip Mr Feast made you.
@iwasgroomed3 ай бұрын
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
@hercegovac99993 ай бұрын
Bro is so down fr 😭💀
@JosephHeath-on1to3 ай бұрын
If the women drowns they all can be charged it goes along with felony tim
@TheSauceyGod3 ай бұрын
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
@TomatthAbyss3 ай бұрын
NO WAY ITS HIM
@TheSauceyGod3 ай бұрын
It’s not they don’t even look similar
@comp3 ай бұрын
@@TheSauceyGod it is, but Nickwhite had no idea what was happening til after the fact
@TheSauceyGod3 ай бұрын
@@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
@andymoore40463 ай бұрын
If they let a woman drowned they should be in JAIL!😢
@dxception8263 ай бұрын
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-ki5gh3 ай бұрын
This is Nick Whites lawyer here, please delete this slanderous video in 15 mins or we will be suing you for defamation.
@itsokiluvu90943 ай бұрын
Quit ur job
@pepsibIue3 ай бұрын
This is Mattsguesttech lawyer here, please delete this slanderous comment here in 15 minutes or I will be suing you for being cringe.
@the_negus3 ай бұрын
I am not a lawyer, please delete this comment and stfu. Thanks 😊
@purpleblaze4203 ай бұрын
Bro that's actually insane 😂
@matthewherrmann95263 ай бұрын
That's a good troll, you almost got me.
@prudhvi_reddy4 ай бұрын
Can you upload these kinds of videos as a playlist for other DS. Thanks for your explanation
@mattguesttech4 ай бұрын
Sure thing!
@2pacrapempire8664 ай бұрын
thanks man, super informative.
@marielalbaracin2544 ай бұрын
thank you for this tips
@paraspatil40964 ай бұрын
I have 6 months until my college placements start. I have just started out in DSA and I don't know development. What should I do? Should I do DSA and later do development or do it simultaneously? If yes, then how much time daily for DSA and how much for dev?
@mattguesttech4 ай бұрын
I’d prioritize DSA first as data structures are the backbone of computer science. Try to understand all major data structures, their runtime and space complexity, use cases, etc. Then once you’re confident in DS then try some LeetCode questions, start with easy then work your way to harder ones. I’d say do at least two LC questions a day. Once you’re comfortable with DSA in general then you can try coding some projects. Pick front end, backend, mobile or full stack and just build something. Development is a lot easier when you actually know how to use data structures and have decent algorithmic thinking. So to recap, do both but do DSA first then development afterwards. Hope this helps.