Home page
Работа в Пунктах выдачи задачов

Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10




Video quality The size Download

Information Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10


Title :  Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10
Lasting :   27.56
Date of publication :  
Views :   181 rb


Frames Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10





Description Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10



Comments Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10



@sujitachaudhary7089
what problems do I need to practice first before solving this?
Comment from : @sujitachaudhary7089


@AbhiudaiShahi
One of your best video ❤
Comment from : @AbhiudaiShahi


@alifrahman7099
goat
Comment from : @alifrahman7099


@ShubhamDineshBafna-t5t
should be take not take , and only say star when there is a star, felt like there was an error in the explanation at 11th minute
Comment from : @ShubhamDineshBafna-t5t


@Box-iq1zj
F**king genius!
Comment from : @Box-iq1zj


@an4220
had to watch it twice it just clears concept can't thank you enough Neet
Comment from : @an4220


@gyaan3101
03:20 * and empty string should return False
Comment from : @gyaan3101


@manivannansivaraj7324
Loved your solution, Neet I was breaking my head to get it working Thanks for the neat explanation and a great walkthrough :)
Comment from : @manivannansivaraj7324


@mfaani
Thanks!
Comment from : @mfaani


@cchexcode
I'd always tend to avoid using "i" and "j" because they look very similar in most fonts Use "i" and "k" to improve readability -> remember: code is read heavy
Comment from : @cchexcode


@paneercheeseparatha
Thanks its a pretty difficult problem
Comment from : @paneercheeseparatha


@akhma102
Thank you, Neet! Great Explanation!
Comment from : @akhma102


@michaelc3781
Thanks
Comment from : @michaelc3781


@chizhang9135
solve in one linebrreturn bool(refullmatch(p, s))
Comment from : @chizhang9135


@for_whom_the_bell_tolls
Wow man your explanation is just fantastic!
Comment from : @for_whom_the_bell_tolls


@nishapaila7870
just a clean explanation amazing
Comment from : @nishapaila7870


@kocot
Instead of optimizing it with cache, I've got an almost identical result (1300ms->50ms) by simply ensuring you don't process subsequent stars So if there is a*a*a*, you'd only check it once Now the cache seems obvious, but that addressed directly the most compute intensive cases :) Funny to see how it's same efficient Using both would probably improve it even further
Comment from : @kocot


@samridhshubham8109
GOAT
Comment from : @samridhshubham8109


@Plutonium_357
That's the ugliest solution as well as finest understanding theoritical video
Comment from : @Plutonium_357


@saadkhan4049
You made it look so simple Thank you!
Comment from : @saadkhan4049


@juliramoos
Perfect explanation! Thank you And the code looks good
Comment from : @juliramoos


@sameerkumar-uq2ic
how did he changed the leetcode code editor to this color
Comment from : @sameerkumar-uq2ic


@rahuljain281
What an explanation sir ji❤ After this, I was able to solve wildcard matching by myself
Comment from : @rahuljain281


@iharshgarg
i dont think so if memoization was actually ever used
Comment from : @iharshgarg


@iharshgarg
i checked so many videos of this problem but there's simply no compedition to you bro keep the neet work up bro/>
Comment from : @iharshgarg


@purnimadas768
Thank you for the very good video
Comment from : @purnimadas768


@Team_sih
but I got a doubt how are we looping the string if we ae not using any loop like it will check all the conditions for 1 time but how is it looping ??? can anyone help?
Comment from : @Team_sih


@jonathanandres1657
Great explanation! :) @NeetCode what tool do you use to write and draw ? brAny specific brand, I'm looking for this kind of tools
Comment from : @jonathanandres1657


@emretekmen1602
you need to explain how the cache actually saves time How does storing the indexes along with a bool value save any time?
Comment from : @emretekmen1602


@santoshr4212
Thanks alot for helping me understand the issue, I was doing the bottom up and solution was failing in leetcode on last 2 test cases After watching this video I understood we need to do bound check on index "i" - stupid of me missing such a basic thing Now solution worked
Comment from : @santoshr4212


@tanaysingh5348
the question description feels really incomplete without your explanation , thanks a lot
Comment from : @tanaysingh5348


@sauravchandra10
If there is one thing which I am not sure is how will the subproblems repeat If anyone has any intuitive way, pls let me know
Comment from : @sauravchandra10


@sauravchandra10
You make hard problems very easy Thanks for explaining
Comment from : @sauravchandra10


@Chirayu19
I think the time complexity would be O(N^2M) and not O(N*M) since we have to iterate through the s in case of "*" Please do correct me if I am wrong Thanks!
Comment from : @Chirayu19


@VishalKumar-kr9me
How easy you make a hard problem is unbelievable !!!!!! Salute to you
Comment from : @VishalKumar-kr9me


@MutuallyBro
Very good explanation, love the channel!
Comment from : @MutuallyBro


@meto4545
18:19
Comment from : @meto4545


@aldogutierrez8240
Very good explanation thanks!
Comment from : @aldogutierrez8240


@jacques-dev
For anyone getting confused with the solution to this problem, I found the bottom-up approach to be much more intuitive Just my experience, I know everyone is different
Comment from : @jacques-dev


@ashkankipati
Could you explain wildcard matching, a similar problem to this one?
Comment from : @ashkankipati


@comander47
this problem took me soo much time to understand, thank you dude
Comment from : @comander47


@axay30
this is called Codeagasm Mind blowing
Comment from : @axay30


@kaartiknagarajan5009
I've recoded your solution and it's brilliant However, I've been trying to follow the stack trace of the program execution to convince myself when the first if statement would execute "if (i, j) in cache: return cache([i, j])" I know it does because I tried removing it and got a TLE error o Leetcode, but I don't see when it would be needed as we always progress into a deeper DFS and cache Would appreciate an explanation if you could please! Thank you
Comment from : @kaartiknagarajan5009


@連尼克
not understand why we need a cache dictionary
Comment from : @連尼克


@zl7460
Thank you for the explanation I thought according to the problem statement, 'c*' cannot be empty, which was very misleading by Leetcode
Comment from : @zl7460


@mirshodoripov1035
can you solve it using only re module in python?
Comment from : @mirshodoripov1035


@pranavkashyap8610
The dramatic decrease in time taken to execute after using cache surprised me brThanks for the explanation and code
Comment from : @pranavkashyap8610


@JameS00989
Super awesome explanation NeetCode 🎉Thanku
Comment from : @JameS00989


@taroserigano6546
Super thanks for this!
Comment from : @taroserigano6546


@袁丽君-s7c
This explanation makes the whole process clean and simple
Comment from : @袁丽君-s7c


@nagasivakrishna5660
man love ur explanation ,great man ,no words love u man
Comment from : @nagasivakrishna5660


@chongwen
great explanation without sophisticate dp, can't thanks more!
Comment from : @chongwen


@pulakammalathy6968
Thank you so much
Comment from : @pulakammalathy6968


@Whatthetrash
Thank you so much for this After weeks (!) of trying to solve this problem on my own, I decided to look it up and lo and behold -- the solution involves a bunch of stuff that I have never heard of I feel a bit better (and I need to learn about Dynamic Programming now) >_< Thanks again for the elegant, succinct solution
Comment from : @Whatthetrash


@jimwu3856
To be honest, I never would have even guessed that this is a Dynamic Programming problem Once you started explaining the decision tree, it ALL made sense Thanks for teaching me something new!
Comment from : @jimwu3856


@pranavsharma7479
thnks bro i was not getting how to solve this , this is same as wildcard matching with a twist
Comment from : @pranavsharma7479


@thisissheraf
Appreciate your explanation thank you
Comment from : @thisissheraf


@notsadsisyphus6224
i seriously love your video i swear you dont waste time i love it
Comment from : @notsadsisyphus6224


@ruizhu5295
I really appreciate your explanation, so clean, so logical!
Comment from : @ruizhu5295


@scottchen2094
Can someone explain why we dont add cache for line 11 & line 13 the two base cases?
Comment from : @scottchen2094


@blackychauhan
recursion & caching 😊
Comment from : @blackychauhan


@sumeetchawla3545
Amazing explanation Really thankful for your great efforts :)
Comment from : @sumeetchawla3545


@saikat511
will it work with s: aaa, p: aab*a*c*a ??
Comment from : @saikat511


@buttercup5029
I was struggling a lot with this question Your video cleared my doubts Thanks for sharing!
Comment from : @buttercup5029


@weidazhu3519
very very tedious, not recommend
Comment from : @weidazhu3519


@shivamverma-ml8bk
👍👍👍
Comment from : @shivamverma-ml8bk


@MohitJayee
Which tool do you use to draw all these explanations?
Comment from : @MohitJayee


@lingyunsu1589
Best explanation ever!
Comment from : @lingyunsu1589


@dollyvishwakarma2
OMG, the question looked so tough, but you made it soo easy !! Another awesome explanation Great fan of your NEET coding style :)
Comment from : @dollyvishwakarma2


@juliewiner5287
Please Please do wildcard matching !!
Comment from : @juliewiner5287


@srini2010srini
Thanks
Comment from : @srini2010srini


@vdyb745
What a brilliant solution and in-depth explanation for this seriously hard problem !!! WOW Thank you !!!!
Comment from : @vdyb745


@pinkylover911
you are talented <3
Comment from : @pinkylover911


@rongrongmiao3018
Hey Neet you should change your user name to Neat Code!
Comment from : @rongrongmiao3018


Работа в Пунктах выдачи задачов

Related Regular Expression Matching - Dynamic Programming Top-Down Memoization - Leetcode 10 videos

Regular Job के साथ विजय कुमार ने PhD कैसे पूरी की || PhD with Regular Jobs Regular Job के साथ विजय कुमार ने PhD कैसे पूरी की || PhD with Regular Jobs
РѕС‚ : Quest India
Download Full Episodes | The Most Watched videos of all time
MSW Distance या Regular से करें? | Master of Social Work : Distance vs Regular - कौन सा बेहतर है? MSW Distance या Regular से करें? | Master of Social Work : Distance vs Regular - कौन सा बेहतर है?
РѕС‚ : Academic Research Institute
Download Full Episodes | The Most Watched videos of all time
Understanding and Expression of Language in Down Syndrome Understanding and Expression of Language in Down Syndrome
РѕС‚ : DSRFCANADA
Download Full Episodes | The Most Watched videos of all time
What programming language you should learn?‍?(based off your interests) #programming #technology What programming language you should learn?‍?(based off your interests) #programming #technology
РѕС‚ : Coding with Lewis
Download Full Episodes | The Most Watched videos of all time
How To Make Money With Programming #shortsfeed #ytshorts #viral #programming #skills #java How To Make Money With Programming #shortsfeed #ytshorts #viral #programming #skills #java
РѕС‚ : SourceBit
Download Full Episodes | The Most Watched videos of all time
Module 3 Spotting Dyslexia: 3 D Oral Language vs Written Expression Module 3 Spotting Dyslexia: 3 D Oral Language vs Written Expression
РѕС‚ : Made By Dyslexia
Download Full Episodes | The Most Watched videos of all time
Written Expression u0026 Dyslexia with Diane Douglas Written Expression u0026 Dyslexia with Diane Douglas
РѕС‚ : The Reading And Language Learning Center
Download Full Episodes | The Most Watched videos of all time
Testing for Specific Learning Disability of Written Expression: What Parents Need to Know Testing for Specific Learning Disability of Written Expression: What Parents Need to Know
РѕС‚ : Dysgraphia Life
Download Full Episodes | The Most Watched videos of all time
Virtual Workshop: Creative Expression in the Early Childhood Classroom Virtual Workshop: Creative Expression in the Early Childhood Classroom
РѕС‚ : Jacqueline Sutherland Molina
Download Full Episodes | The Most Watched videos of all time
Under the Table Idiom Meaning - English Expression Videos Under the Table Idiom Meaning - English Expression Videos
РѕС‚ : Essential English and Idioms
Download Full Episodes | The Most Watched videos of all time
Работа в Пунктах выдачи задачов
Работа в Пунктах выдачи задачов


MODULE 1 LESSON 3: ROLES OF TECHNOLOGY FOR TEACHING AND LEARNING | Leftover Currency Can I Exchange Foreign Coins? | Fisher Price Laugh U0026 Learn Dance And Play Puppy/ Cățel Interactiv Danceu0026 Wiggle Fisher Price | How To Make Quick, Easy Money In Grand Theft Auto Vice City. | | 5 Easy Ways To Make Money Using Python | | Python Tutorials | | Spiritual Meaning Of Finding Pennies Or Money | Learning To Love America A Poem By Shirley Geok Lin Lim Performed By Mignon Farmani | Using Visuals To Enhance Learning | Episode 1: How Do People Learn? | Canada 5 Dollars 1976 Olympic Village (Large Silver Coin Of The Week Oct 10 2017) | Ep.1 Season 1 Coins Vs Bars Expert Tips On Gold And Silver Coins And Bars | How To Store Silver Coins, Gold Coins And Silver Bars Safely At Home (2020) | Money Hai Toh Honey Hai (HD) Superhit Hindi Full Movie | Govinda | Manoj Bajpayee | Hansika |Celina | Service Learning In The Dominican Republic One Week In El Cerrito | Can You Learn To Play The Piano Without A Teacher/alone? | Senior G Dom DiGiorgio. Franklin Learning Center. Philadelphia Public League ? | 1970 Learning Basic Skills Through Music | Health And Safety | What Is VARK? How To Use VARK To Find Your Learning Style To Be A Better Learner! | UK U0026 10 Pence 1992 Queen Elizabeth II Coin Value And Price Rare. | Best Way To Send Money To India!!! | Runescape 2007 Money Making Guide 2013 | How To Teach Reading Comprehension To Students With Learning Difficulties | TOP 8 ULTRA AUSTRALIA 20 CENTS RARE 20 CENTS COINS WORTH A LOT OF MONEY COINS WORTH MONEY! | Inside The World Of Rare Coins 1982 Malaysia 10 Sen Worth Millions. | These Low Level Money Makers Are AMAZING For New Accounts! OSRS Early Game Money Making Guide | Tumi Delta Money Clip Card Case Luggage Online | Sims3 Ambitions Money Cheat. IPod Touch/iPhone | How To Get Started In Real Estate With NO Money ??? Grant Cardone | Tumi Delta Magnetic Money Clip SKU:7872704 | Why Cant Government (RBI) Print More Money? In Tamil | Worth BIG MONEY!! 1966 50 Cent Silver Round Coin From Australia | How To Send Money Using GCC Exchange Mobile App Easy Bank Transfer | Money Transfer App In UAE | ✅ How To Link Connect Debit Card To MoneyGram ? | The Top 3 Advantages Of Learning A Second Language As A Child | Meek Mill Dreams Worth More Than Money Official Instrumental YouTube | A Step Ahead Learning Center Christmas Program 2012: Beanbag Conversations