Sliding Window Technique - Algorithmic Mental Models

  Рет қаралды 352,576

Ryan Schachte

Ryan Schachte

Күн бұрын

Пікірлер: 404
@omkarpat
@omkarpat 5 жыл бұрын
One of the best explanations of this concept. Please make some more "Algorithmic Mental Models" based videos.
@CEOofTheHood
@CEOofTheHood 3 жыл бұрын
dude u seriously need to make more of these. Ill pay for them.
@andrewblaines
@andrewblaines 3 жыл бұрын
Agreed! These are great. More "Algorithmic Mental Models" for dynamic programming, backtracking, etc. would be extremely helpful. Thanks for the video!
@veliea5160
@veliea5160 3 жыл бұрын
it is not one of the best, it is the best
@Mogwai88
@Mogwai88 3 жыл бұрын
@@CEOofTheHood Yes. Please make more of these. Especially with your new freecodecamp traffic this would really take off.
@AhmadRafique-yn8ry
@AhmadRafique-yn8ry Ай бұрын
Agreed
@jacktrainer4387
@jacktrainer4387 4 жыл бұрын
I've never before seen a CS video that approached CS like math (i.e., here are the concepts, here are some keywords to look out for so you know when to apply these concepts, here are a few examples). The world needs 1,000 more videos like this (DP, Linked Lists, Trees, Graphs, etc). Fantastic work!
@fahadhayat_
@fahadhayat_ 3 жыл бұрын
Dude please create a playlist for the other techniques as well!!! This is gold!
@zappist751
@zappist751 Жыл бұрын
Does he have a playlist for this?
@maggiesayabie
@maggiesayabie 4 жыл бұрын
Who even has the audacity to dislike such a video?? The best and simplest explanation of sliding window concept i have ever come across. Thank you sir!
@priyamrai5915
@priyamrai5915 8 ай бұрын
will it work if array has negative elements. I think no.
@maxdrojjin6984
@maxdrojjin6984 5 жыл бұрын
This is really the best video (or any, really) explanation of the topic I have found. Really hope this would become more popular. Thank you!
@shriduttkothari
@shriduttkothari 2 жыл бұрын
This is the only video which made me understand dynamic window sizing algorithm... Thank you so much 🥰
@SauravTiru
@SauravTiru Ай бұрын
Learning from you to for my job hunt in Zurich, I shall get back to this video once I get my job ! Thanks in advance for everything!
@pjmiravalle
@pjmiravalle 2 жыл бұрын
I came across this video after struggling with sliding window problems in preparation for my upcoming Google interview, and just wanted to thank you for the super clear explanation. I'm feeling much more confident with these problems now. 👍
@tomrobinson8290
@tomrobinson8290 2 жыл бұрын
Did you get into google? How was the interview!?
@divyanirao4279
@divyanirao4279 5 жыл бұрын
This video is amazing. hope you make more videos on "mental models" such as for dynamic programming.
@michadobrzanski2194
@michadobrzanski2194 3 жыл бұрын
Max subarray sum of k is also a dynamic programming problem. You reuse the previous max result and update it. So it is like dynamic programming with space complexity O(1).
@syedaffanhameed14
@syedaffanhameed14 2 жыл бұрын
I found "Algorithmic mental models" is a great concept for solving problems please bring more videos like this.
@nan5715
@nan5715 5 ай бұрын
I like that you actually name your variables in a meaningful way. 👍
@sedgeralt
@sedgeralt Жыл бұрын
Hands down the best explanation of the Sliding Window technique. Please do more algorithmic mental model videos!
@weijinghuang8518
@weijinghuang8518 2 жыл бұрын
This is the best video I've ever seen on this topic "sliding window"! It does not only solve one or two interview questions for me but also solves a group of problems. More than that, it teaches me how to spot this group of problems. Fantastic!!!
@parthabhowmik4747
@parthabhowmik4747 2 жыл бұрын
The best lecture on sliding window technique
@vicente3j
@vicente3j Жыл бұрын
Only 219k views... no way. This is by far some of the best CS-related content on KZbin, hands down. Amazing!!
@cse9003
@cse9003 2 ай бұрын
why suddenly when i graduated all these channels poped up when i needed them the most , bro you are the best
@TheN8H
@TheN8H 5 ай бұрын
I've really struggled visualizing this algorithm concept and this video is extremely intuitive and detailed. Would love to have more of these videos.
@TheDev05
@TheDev05 3 жыл бұрын
The animation for second technique: dynamic SW is just awesome, I loved it
@Finn-jp6pn
@Finn-jp6pn 4 жыл бұрын
Would love more of these 'Algorithmic Mental Models' videos. I'm sure everyone here would appreciate them.
@Finn-jp6pn
@Finn-jp6pn 4 жыл бұрын
@maryam I'm sure there are more capable people here who can help you. I don't have much experience with Python.
@yasirayaz7832
@yasirayaz7832 2 жыл бұрын
Nice explanation. I am glad I landed here while searching for all possible solutions for solving the array problems
@rafaeldietrich8050
@rafaeldietrich8050 2 жыл бұрын
This is probably hands down the best explanation of the Sliding Window technique i've seen. Great job!
@ionguzun3952
@ionguzun3952 2 жыл бұрын
agree 100%!
@plashless3406
@plashless3406 2 жыл бұрын
This is amazing. I wish I could hug you for this best explainantion. I learned a lot.
@frozen_tortus
@frozen_tortus 4 жыл бұрын
I'm absolutelly blown away how this is explained.
@for461
@for461 4 ай бұрын
you are a very good teacher in layman language you are reaching. We will surely crack interviews with these
@pbard42
@pbard42 2 жыл бұрын
Wow great explanation, love the ‘teach a man to fish’ approach to the algorithm problems!
@omaryahia
@omaryahia 2 жыл бұрын
a simple visual explanation, detailed, with variants this is amazing, thank you
@giampierovanzzini1430
@giampierovanzzini1430 6 күн бұрын
This is a really great informative video, thanks for the hard work! I really like the breakdown to creating a mental model
@uzvalmallepeddi8962
@uzvalmallepeddi8962 3 жыл бұрын
I wouldn’t resist to pay a 1000$ to watch such videos. Brilliant piece of work! Hope you do more videos on “Mental models”
@dr_920
@dr_920 4 жыл бұрын
One of the best tutorials I have even seen. Thanks.
@ShivamJha00
@ShivamJha00 Жыл бұрын
After watching this one, I could solve even the hard LC problems within 15-20 mins. This is a gem of a video on this topic. Hope you make more of these on other topics, I will literally pay for it
@Sedri14
@Sedri14 Жыл бұрын
Best explanation so far. Thank you
@brenoaps
@brenoaps 5 ай бұрын
A series of algorithmic mental models would be awesome, great work!
@for461
@for461 4 ай бұрын
I am from India. THese are helping us cracking interview. THank you very much. Complicated topics you are making us understand very easily.
@billycheung7095
@billycheung7095 Жыл бұрын
Thanks you with tear. You constructed a solid framework for handling sliding window in my head.
@billyfigueroa1617
@billyfigueroa1617 8 ай бұрын
What an excellent, well paced, well explained video with explaining the theory but also showing it in examples THANK YOU! The more you research the more you come to understand that trying to solve all these problems individually with out knowing about techniques like these, is so painful lol
@pravinyadav8372
@pravinyadav8372 2 жыл бұрын
This video gave the confidence that I'll mostly won't stuck in this topic anymore...Thank you : )
@ibrahimhegazi3955
@ibrahimhegazi3955 2 ай бұрын
You might be a professor or a normal student, but your explanation skills are exceptional. Add to that most of the videos explaining algorithms do not include such an amazing visualization for the data structures that we are working with. I hope one day you will have the free time to make a full algorithms and data structures for competitive programming course with such an amazing visualization. Hope you the best sir whereever you are.
@codesefod8527
@codesefod8527 2 жыл бұрын
1. Liked 2. Subscribed 3. Notifications Turned On. Please keep posting, one of best the best explanations for sliding window problems. Thank You Ryan!
@shrey4489
@shrey4489 2 жыл бұрын
Great explanation! I'm a visual learner and I can see myself imagining these sliding window animations when I face array problems like this in the future.
@silvahawk
@silvahawk 3 жыл бұрын
I have always been calculating the first windowSum in a separate loop before starting to "move" the window in a separate loop. I never knew you could do both within the same loop without using a nested loop. This is amazing!
@peacebakare
@peacebakare 2 жыл бұрын
This is the best explanation on Sliding Window I have seen so far. Thank you for the detailed yet simple approach to explaining the concept.
@abduuhany
@abduuhany 4 ай бұрын
I love the idea of "Algorithmic Mental Models"! Thank you so much for explaining this perfectly and I'd love to see more videos for this idea!
@SolamanRaji
@SolamanRaji 3 жыл бұрын
Great explanation and example of sliding window.
@akhalil3482
@akhalil3482 2 жыл бұрын
we need more of this series! please do more!
@SantoshPrajapati-ps9nj
@SantoshPrajapati-ps9nj 6 ай бұрын
This is the best explaination that i have came across 🙂
@CantBeTamed53
@CantBeTamed53 2 жыл бұрын
Great use of graphics to explain the algorithm! :D
@sujityadawad
@sujityadawad 5 жыл бұрын
Was struggling a lot with sliding window problems earlier, your explanation really simplified those problems. I really appreciate your effort. Thank you! Please post more videos.
@andrewgraham3119
@andrewgraham3119 Жыл бұрын
Great explanation. It really helped me to fully understand
@rahulkushwaha7742
@rahulkushwaha7742 2 жыл бұрын
I struggled for longest substring problems and now here we are i solved it by my own after watching your video thanks buddy
@igcmjoeabar8475
@igcmjoeabar8475 3 жыл бұрын
Guys, seriously, just study this video! It will help tremendously!!! Thanks for such helpful content
@francksgenlecroyant
@francksgenlecroyant Жыл бұрын
Thank you @Ryan Schachte for clarifying the sliding window technique and make it so simple just like that. I hope you upload a lot more vids like this bro !
@MrAlmas01kz
@MrAlmas01kz 2 жыл бұрын
One of the best and easy explanations of this concept. thank you so much !
@thatChillLife2037
@thatChillLife2037 4 ай бұрын
dude I am only 2 minutes in and I've liked and subscribed! Between the visuals and your consice explanations, the sliding window technique (which I never thought I'd understand) makes SO MUCH SENSE! Thanks so much :)
@harshitmittal1217
@harshitmittal1217 4 жыл бұрын
Literally the best explanation of sliding window technique.
@waseemmn2007
@waseemmn2007 7 ай бұрын
OMG, Best problem solving explanation I've ever seen. it is a really helpful, simple, and to the point, Thank you for this extraordinary video. Liked and subscribed 🙌
@sivanyaniv64
@sivanyaniv64 2 жыл бұрын
this is the best video I was watching about sliding window - thank you !!
@klaaskabini5407
@klaaskabini5407 2 жыл бұрын
Best explanation so far. Please make more videos on algorithmns
@alonbrim
@alonbrim 2 жыл бұрын
This video is pure gold!!! Great explanation . Everything is very clear. Thank you very much!
@martinlacsamana7534
@martinlacsamana7534 Жыл бұрын
Only 13 minutes in but this is beautiful so far. Thank you.
@leonardo_magallanes
@leonardo_magallanes 2 жыл бұрын
Thank you so much for this video, I helped me a lot to understand this concept better.
9 ай бұрын
Thanks, I flew through LeetCode Sliding Window challenges after watching this.
@cocoarecords
@cocoarecords 3 жыл бұрын
wow this deserve to be a series very underrated!
@neerajkulkarni6506
@neerajkulkarni6506 3 жыл бұрын
This is fantastic! Please make more of these 'mental model' videos. There too many videos out there that jump straight to the solution without any discussion of how to approach and generalize a problem. We need more video's like this!
@victorklimov3175
@victorklimov3175 Жыл бұрын
Thank you for GREAT explanation!
@svdfxd
@svdfxd 5 жыл бұрын
One of the The best videos to explain Sliding windows concept. Request you to make other such videos that will help in tech interviews.
@Maybec
@Maybec Жыл бұрын
Thank you for your help. Please add more videos to the algorithmic mental models series. please and thank you!
@davidodia4603
@davidodia4603 3 жыл бұрын
Incredibly simple explanation. I felt like a baby being handed his lego building blocks. I absolutely learnt a hitherto abstract concept, i will never forget.
@alphapenguin9748
@alphapenguin9748 4 жыл бұрын
Please make more algorithm videos, you're literally the best explainer I have found on youtube.
@debugquan
@debugquan 2 жыл бұрын
Great guy. I was hesitant to watch the whole video but you were so informative that I actually learned something for many use cases. Thanks
@amitrajitdas31
@amitrajitdas31 2 жыл бұрын
One of the best explanation on YT
@danielstatler954
@danielstatler954 Жыл бұрын
first vid i see on this channel and its wonderful. good job!
@B-Billy
@B-Billy 7 ай бұрын
Hand down, the best explanation. Great work🎉 thank you❤
@WhosShamouz
@WhosShamouz Жыл бұрын
Rewatched some parts of it. Perfect, breathtaking. The best tutorial ever.
@SushilDubey171
@SushilDubey171 4 жыл бұрын
This is the best video for sliding window techniques
@back2bits
@back2bits 9 ай бұрын
This is -by far- the best video on this topic I have seen. Thanks for taking the time to produce such a great content. Keep it up!
@danielderese3170
@danielderese3170 2 жыл бұрын
I can't thank you enough. I wish I have seen this video before I bombed in the Meta interview. Please make more videos on Algorithmic Mental Models!!!
@potatocoder5090
@potatocoder5090 2 жыл бұрын
I have struggled with this concept for a really long time, but not anymore :) Your explanations were absolutely beautiful and I'm excited to solve some sliding window problems now! Can you please create more Algorithmic Mental Model videos? We'd all be super grateful!
@airysm
@airysm 3 жыл бұрын
This video just came up in my recs as I'm interview prepping and I'm so mad this is your only video like it! I thought I hit a goldmine for interview prep for a sec LOL, but nonetheless this video is amazing. Thank you so much
@TheSimpleEngineer
@TheSimpleEngineer 3 жыл бұрын
More to come ;)
@GoblinBlaster3000
@GoblinBlaster3000 2 жыл бұрын
Great explanation, didn't know anything about sliding window before this video and I got enough information where I could implement it no problem.
@vishwable
@vishwable 4 жыл бұрын
Very beautiful Video...need more such videos.
@jm56481
@jm56481 2 жыл бұрын
I don't comment much but this video is a triumph lol. Great job on the explanation Ryan.
@Ore00000
@Ore00000 3 жыл бұрын
I greatly appreciate the clear explanation of the dynamically resizable sliding window, it cleared up some doubts I have about the algorithm. Cheers!
@pif5023
@pif5023 8 ай бұрын
Nice video! Banger as a refresher for interviews.
@LamaSonmez-w1g
@LamaSonmez-w1g 10 ай бұрын
very declariative and well explained , thanks
@edavar6265
@edavar6265 Жыл бұрын
I wish you made more of these videos. Thanks a lot.
@IljaMichajlow
@IljaMichajlow 2 жыл бұрын
It is the best explanation for this topic!
@mental-block
@mental-block 4 жыл бұрын
solved many problems after watching this video. Thanks !!!
@nehashimpi7643
@nehashimpi7643 3 жыл бұрын
This is the best video I have seen!!Please please please make more videos on Algorithm Models!!
@muskulanikhil3623
@muskulanikhil3623 Жыл бұрын
Fantastic, you should seriously consider doing dynamic programming series. Just 36 mins but got avery clear understanding of the topic
@shresthajha3454
@shresthajha3454 3 жыл бұрын
great explanation! can't understand it better. Thank you for the video!!
@TechieIndia
@TechieIndia 4 жыл бұрын
the best lecture available on any platform for SWT. I loved this video and your way of explanation.
@wittyhumour29
@wittyhumour29 3 жыл бұрын
Amazing explanation of the Sliding-Window Technique. Would love to see more of Algorithmic Mental Models.
@eigenjoe
@eigenjoe 2 жыл бұрын
Please make more videos like this one! Please!
@leandrormor
@leandrormor 3 жыл бұрын
I want learn more algorithmic mental models :) thanks for shaing
@Shiva-zy7jq
@Shiva-zy7jq 4 жыл бұрын
Best video on youtube about sliding window technique. Thank you so much.
@amangautam2792
@amangautam2792 4 жыл бұрын
Thanks for such nice explanation!
@priyakumar6697
@priyakumar6697 Жыл бұрын
Please make more of these! This was so helpful thank you.
@im_another_you
@im_another_you 2 жыл бұрын
Nice Presentation and Explanation.
@vinhnghiang1273
@vinhnghiang1273 Жыл бұрын
you have a great voice for tutoring!
@tvsnath
@tvsnath 3 жыл бұрын
thanks for the wonderful explanation
How DNS Works Visually
10:46
Ryan Schachte
Рет қаралды 77 М.
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 50 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 107 МЛН
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 20 МЛН
JavaScript Sliding Window Technique - Fixed Size
15:19
The Code Creative
Рет қаралды 14 М.
Dependency Injection & Inversion of Control
11:00
Ryan Schachte
Рет қаралды 197 М.
Understanding The Visitor Design Pattern
32:08
Ryan Schachte
Рет қаралды 58 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 576 М.
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 565 М.
Most Common Concepts for Coding Interviews
6:08
NeetCode
Рет қаралды 320 М.
The BEST Way to Find a Random Point in a Circle | #SoME1 #3b1b
18:35
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 411 М.