Regular Expression Matching | Brute Force | Optimal | Recursion Concepts And Questions

  Рет қаралды 7,886

codestorywithMIK

codestorywithMIK

Күн бұрын

Пікірлер: 34
@21UEE104AngiraDas
@21UEE104AngiraDas 8 ай бұрын
Few days back I was struggling with this problem, thanks a lot for coming up with the solution that too with so much depth , I really needed this.
@rashid_khan7809
@rashid_khan7809 4 күн бұрын
thanks....1000times (i have tried my times but fails to understand ) but it made easily by you
@AdityaRaj-xe1vj
@AdityaRaj-xe1vj 8 ай бұрын
Your teaching skills are just awesome ❤❤
@Divyansh-n3h
@Divyansh-n3h 4 ай бұрын
Itna mazaa aaya na bhai thank you so much!
@abhiroopmokshagnabheemineni
@abhiroopmokshagnabheemineni 2 ай бұрын
Awesome explanation!!!
@DevOpskagyaan
@DevOpskagyaan 8 ай бұрын
How are you so good. I remember I struggled with this problem a lot. The indepth points you share in your videos is a gold mine
@iamnoob7593
@iamnoob7593 3 ай бұрын
Crazy good explanation
@deathigniter2155
@deathigniter2155 4 ай бұрын
16:40 , It should be true , just like the way a*ab is true , b*ab will also be true.
@ugcwithaddi
@ugcwithaddi 8 ай бұрын
Thanks a lot
@Mohit_Yadav_2003
@Mohit_Yadav_2003 4 ай бұрын
At 16:40 minutes, answer of "ab" and "b*ab" must be True, because b* can be matched with " " or "b" or "bb" and so on. * means 0 or more of the preceding element, Also 3rd test case of the leetcode of the same problem is "aab" and "c*a*b" and answer for which is true, clearly stating that "c*" means " " or "c" or "cc" and so on.
@saarthakkhandelwal4256
@saarthakkhandelwal4256 4 ай бұрын
Nope, how do you plan on matching the 'a' from "ab" and "b" from "b*ab" i.e the elements at the 0th index.
@Mohit_Yadav_2003
@Mohit_Yadav_2003 4 ай бұрын
@saarthakkhandelwal4256 buddy b* can be matched with "" i.e with empty string. Means we can take 0 times of the preceeding element
@riyaverma529
@riyaverma529 4 ай бұрын
yeah , i stuck at the same point.
@riyaverma529
@riyaverma529 4 ай бұрын
@@saarthakkhandelwal4256 look here is a test case from leetcode : Input s ="aab" and p ="c*a*b" Output=false Expected=true this was 226th test case which i failed due to the same mis-understanding.
@Mohit_Yadav_2003
@Mohit_Yadav_2003 4 ай бұрын
​@saarthakkhandelwal4256 buddy "b*" can be matched with " " i.e empty string, * means 0 or more of its preceeding element means we can take 0 times of b.
@ronakpatel2826
@ronakpatel2826 29 күн бұрын
super !~
@gauravbanerjee2898
@gauravbanerjee2898 8 ай бұрын
Thank you so much ❤❤
@AmitSaha_15
@AmitSaha_15 8 ай бұрын
best explanation!! thank you so much
@abhinay.k
@abhinay.k 3 ай бұрын
thanks
@EB-ot8uu
@EB-ot8uu 8 ай бұрын
kya khatarnak parhate ho bhai. legit.
@healthybestie108
@healthybestie108 3 ай бұрын
mja aagya bhaiya
@aws_handles
@aws_handles 8 ай бұрын
You are the best I was waiting for this. Is the Recursion Concepts playlist complete now ?
@jatakchatterjee1459
@jatakchatterjee1459 8 ай бұрын
Aj ka gfg potd - generalized fibonacci number 🤯(hard) ..kahi par acha explanation nehi mila.. Ho sake to iska ek detailed video bana dena pls.
@JagannathDebGunin
@JagannathDebGunin 8 ай бұрын
Thank you dada Can you please do maximum index of gfg please? And comparator video of java?
@sandiproy6842
@sandiproy6842 8 ай бұрын
finite automata toc topic
@user-fm8jx
@user-fm8jx 3 ай бұрын
Great observation
@Ramneet04
@Ramneet04 8 ай бұрын
How can we check directly the p[1] as it may be out of bound mean what is p length is 1? Im getting confused in it ??
@wakeUpDoSomething
@wakeUpDoSomething 3 күн бұрын
bhaiya aap kha se ho
@mohddanish2553
@mohddanish2553 7 ай бұрын
bhaiya could u plzz update more question videos
@nawazthezaifre8870
@nawazthezaifre8870 8 ай бұрын
plz also share the slide link
@codestorywithMIK
@codestorywithMIK 8 ай бұрын
Yes already added in the video description. PDF link
@nawazthezaifre8870
@nawazthezaifre8870 8 ай бұрын
@@codestorywithMIK ohh I didn't notice. Thanks a lot Sir for today's problem solution also.
@yashvalecha2860
@yashvalecha2860 8 ай бұрын
Bhaiya please read my comment on previous videos i want to talk to you
@dayashankarlakhotia4943
@dayashankarlakhotia4943 8 ай бұрын
public boolean isMatch(String s,String p){ boolean[][]dp=new boolean[s.length()+1][p.length()+1]; dp[s.length()][p.length()]=true; for(int i=s.length()-1;i>=0;i--) for(int j=p.length()-1;j>=0;j--){ boolean match=(i
Decode Ways | Recursion | Memo | Bottom Up | Leetcode 91
40:04
codestorywithMIK
Рет қаралды 9 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 36 МЛН
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 14 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 26 МЛН
Making an Algorithm Faster
30:08
NeetCodeIO
Рет қаралды 162 М.
Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text
37:55
LRU Cache | Brute Force | Optimal | Detailed | Leetcode 146
40:32
codestorywithMIK
Рет қаралды 18 М.
Путин ответил на угрозы Трампа
7:21
Diplomatrutube
Рет қаралды 1,3 МЛН