Lec-48: Convert Context free language to Context free grammar with examples | TOC

  Рет қаралды 828,008

Gate Smashers

Gate Smashers

Күн бұрын

Пікірлер: 240
@vijaypulugari
@vijaypulugari 3 жыл бұрын
I Love You Sir! Huge fan of you! Respect from Hyderabad.
@gamersden1403
@gamersden1403 3 жыл бұрын
Brother.. U r great. U r my sir .. Today I'm gonna score 80-90% marks in my 5th sem exam... Till yesterday I didn't get anything in mind. . Once I saw ur video, only at once I understand everything.. Every credit goes to u my dear bro❤❤thx alot... I'm feeling it's waste of paying fees to clg.. Rather than it, I prefer ur videos.. Love u bro from Hyderabad 🤗❤
@mhassaan7405
@mhassaan7405 2 жыл бұрын
How many marks you got?
@bartosz3667
@bartosz3667 2 жыл бұрын
@@mhassaan7405 Fail hogaya lagta hai 🤣
@mhassaan7405
@mhassaan7405 2 жыл бұрын
@@bartosz3667 mat pucho yr bera gark ho gya he abi mid hua tha
@bartosz3667
@bartosz3667 2 жыл бұрын
@@mhassaan7405 mera 7 ko TOC ka end sem ka paper hai 🙃
@mhassaan7405
@mhassaan7405 2 жыл бұрын
@@bartosz3667 best of luck for your exam as well as future.
@iqrasaleem9745
@iqrasaleem9745 2 жыл бұрын
Lols we take admissions in the best universities and then a day before exam we are here to learn from you.. huge respect for Indian teachers on KZbin. From 🇵🇰
@Gangstersongs125
@Gangstersongs125 Жыл бұрын
same
@UBERPANDIT
@UBERPANDIT Жыл бұрын
bhag yha se. peaceful environment dekha nhi aagaye bomb phodne.
@faisala.4433
@faisala.4433 Жыл бұрын
IITian?
@HBMOTIVATION0
@HBMOTIVATION0 11 ай бұрын
​@@UBERPANDITyeh thuth se bola bhi jata hehkya😅
@tarunkhandelwal1101
@tarunkhandelwal1101 7 ай бұрын
Hey:..how r u doing
@rashmidhawan4783
@rashmidhawan4783 3 жыл бұрын
I love the way you teach... Your content.. Examples gives a general idea of how actually the things work... All these shows your great efforts behind the scene... Hats off to you sir.
@thevirus2284
@thevirus2284 2 жыл бұрын
I thought construction of cfg is the hardest thing...you prove it wrong sir...thanks a lot sir, take respect ❤️
@ahmedansari9321
@ahmedansari9321 2 жыл бұрын
Loved the way you teach and help millions of people out there without discrimination. You provide extreme quality education free of cost at a very high level which many institutions can't even reach
@salmaibrar7118
@salmaibrar7118 Жыл бұрын
Hi sir l am here after 5th term result. I got 90 marks out of 100 in TOC. That's because of you. Thank you for such a great effort. Your Chanel is a great blessing for CS students.
@tarunkhandelwal1101
@tarunkhandelwal1101 7 ай бұрын
College name?
@manishtajne293
@manishtajne293 7 ай бұрын
On paper kitne hai??
@tarunkhandelwal1101
@tarunkhandelwal1101 7 ай бұрын
@@manishtajne293 🥺🥺🥺
@SHEETALSHARMA-tz7sm
@SHEETALSHARMA-tz7sm 3 жыл бұрын
Bookmark 1) 0:37 ( n ≥ 0 ) 3:28 ( n ≥ 1) 2) 4:13 3) 5:29 6:45 (n≥1) 4) 7:24 5) 8:30 (m>n , n ≥ 0) 10:05 (m ≥ n) 6) 11:17 --- Palindrome --- 7) 13:30 (Even Length) 14:20 (Odd Length) 14:36 ( Union of odd and even length) 8) 14:51
@nupurhiray2318
@nupurhiray2318 Жыл бұрын
Not all heroes wear cape.. some make videos and others create timestamps... 😂😂
@utkarshsingh3319
@utkarshsingh3319 Жыл бұрын
Deserves a pin
@yash1152
@yash1152 10 ай бұрын
धन्यवाद
@pratiktiwariramji
@pratiktiwariramji 3 ай бұрын
Nice sharma ji 👍
@mohitgehlot20
@mohitgehlot20 3 жыл бұрын
Thank you sir for explaining it in easy! You are capable of becoming a IIT professor
@puckpuck18
@puckpuck18 3 жыл бұрын
if he becomes an IIT prof. then he won't be able to teach us
@heecmat4045
@heecmat4045 3 жыл бұрын
Our iit teacher send us gate smasher video for learning in easy way
@DailyLeetcodingHack
@DailyLeetcodingHack 3 жыл бұрын
@@heecmat4045 Bhai fir to iit mai nahi iti mai hoga
@DailyLeetcodingHack
@DailyLeetcodingHack 3 жыл бұрын
Accha majak tha
@warpdrive9229
@warpdrive9229 2 жыл бұрын
@@DailyLeetcodingHack Dude teachers in IIT have sarkari job. So don't expect them to teach you very efficiently. Most are very kaam chor. They are more interested in their research than anything else. Only younger faculty teach with some interest.
@surabhibn541
@surabhibn541 4 жыл бұрын
sir , your approach is awesome!!! all videos are really wonderful... i am totally dependent on u for completions of my all university level exams I am fan of u sir thank u soo much....you make us understand topic so well that we will never forget later...i was spending lots of time on automata subj but u made all subjs easier and saved my lots of time ...no more confusions
@GateSmashers
@GateSmashers 4 жыл бұрын
Thank you so much.. Keep learning and sharing
@AnilKumar-ve2yl
@AnilKumar-ve2yl 3 жыл бұрын
Thank you so much sir ,for these useful lectures, I am able to solve questions now . Finally my internet data is going in right direction
@muhammadmesum1729
@muhammadmesum1729 4 жыл бұрын
sir you made it so simple and easy to understand.. previously i was struggling with it but now these concepts are crystal clear to me thank you
@chitaranjandas3021
@chitaranjandas3021 4 жыл бұрын
Awesome sir
@omyrazeem2571
@omyrazeem2571 4 жыл бұрын
You explain everything in a really simple way thanks man for your hard work .....
@isaisu3101
@isaisu3101 4 жыл бұрын
Sir toc se dr lgta tha......pr apse pdhne k bad ghoorne ka mn krta h ab toc ko hi...🥰🥰🥰 Thanku sir.......for awsome video's
@kanchiaswar3290
@kanchiaswar3290 2 жыл бұрын
Thank you so much sir. Almmost every question of CFL to cfg conversion can now be solved with this approach! Really grateful to you .
@ayanahmad12
@ayanahmad12 2 жыл бұрын
Absolutely loved it sir.Ty very much for your quality education. Love from IIIT Allahabad.
@swathig5060
@swathig5060 Жыл бұрын
Excellent sir, Thank you very much , this topic very clear to me after watching your videos
@AshishSinghh
@AshishSinghh 4 жыл бұрын
Bhai ek hi dil hai kitni baar jitoge. Everytime i watch your video i fall in love with your knowledge. Could you please run a series on data structure and algorithm? Please make a play list for those
@ketanraghunathraut7615
@ketanraghunathraut7615 3 жыл бұрын
ig he has made it,check on channel playlist!!
@sahithi5a390
@sahithi5a390 3 жыл бұрын
Thankyou so much brother...u r a hero...u saved me and my friend from this exam....ur explanation is awesome..tqqq and keep rocking
@vedanand7857
@vedanand7857 11 ай бұрын
15:37 ye kaun batayega sir ki jab more than 2 variables hon like a,b,c and unke powers ho M and N, then unke powers ko equal krke waley condition ka CFG bna skte but unke powers ka comparison krke like M>N and M
@eshaeshal877
@eshaeshal877 Жыл бұрын
As always I keep enjoying in uni and before exam day I learn from you at once 🤲 hats off
@akashkush6631
@akashkush6631 Жыл бұрын
chitkara se ho kya?
@eshaeshal877
@eshaeshal877 Жыл бұрын
@@akashkush6631 ?
@yash1152
@yash1152 10 ай бұрын
S -> Abb ; A -> aAb | e 4:49 मुझे यह अधिक पसंद है (अभी के लिए) 8:50 हाँ, यही वाले तरीका लगाया मैंने भी उपरोक्त हेतु
@muhammadmansha3327
@muhammadmansha3327 4 жыл бұрын
Your teaching method is so good👌👌👌
@patel_prakash_26
@patel_prakash_26 2 жыл бұрын
Your video is always helpful Thanks sirji
@alihamzaconnect
@alihamzaconnect 3 жыл бұрын
Lots of respect from Pakistan 🇵🇰♥️
@JTST1234
@JTST1234 4 жыл бұрын
Very good explanation man, keep working hard and someday you'll reap the rewards
@aashushaikh5843
@aashushaikh5843 2 жыл бұрын
1st lec of gate smashers jo bouncee gaya😭
@redrose5950
@redrose5950 3 жыл бұрын
Sir you have explained in a very easy manner. Your efforts are really superb, tremendous. Keep it up
@himanshigoyal4004
@himanshigoyal4004 4 жыл бұрын
Your way of teaching is great sir !!!! You make every concept looks easy 😇😇😇
@ALLINONE-ru6jy
@ALLINONE-ru6jy 4 жыл бұрын
Hello sir mai up se hu but Punjab ki lovely professional university se b. Tech kar rha hu mai aur meri university ke sare student and teacher aap ki video dekhte hai mai sir aap ko recommended karn chahta hu ki app datastructure and algorithm ki nhi series chalu kare sir plzzz
@dilsetak
@dilsetak 3 жыл бұрын
i like your teaching way 🤗🤗🤗
@VAMSIKRISHNA-kr3qf
@VAMSIKRISHNA-kr3qf 4 жыл бұрын
Sir! The way u teach is very intuitive sir! Sir small doubt like for Q5 can we write "s-->a s b| a^(m-n)
@coderwork8335
@coderwork8335 Жыл бұрын
You are a great personality sir
@sakshikale9447
@sakshikale9447 4 жыл бұрын
Sir please start teaching java programming 😊
@asifhaiderelhan
@asifhaiderelhan 2 жыл бұрын
Amazing lecture! must watch before exam :p
@Spoorti123-r4w
@Spoorti123-r4w 4 жыл бұрын
Sir ur way of teaching is really amazing.....i completely depended on ur video so plz upload more videos for ugc 2020 exam....plz sir
@swarupach2668
@swarupach2668 4 жыл бұрын
Same here
@pratiktiwariramji
@pratiktiwariramji 2 жыл бұрын
Ty Sir👍
@gamingtechnology1065
@gamingtechnology1065 4 жыл бұрын
Best teacher on youtube
@ghalibhassan7047
@ghalibhassan7047 Жыл бұрын
It helped a great deal. Thank you sir!
@bushrazahoor7957
@bushrazahoor7957 2 жыл бұрын
Great sir...... love you frm Pakistan
@shivamprajapati08
@shivamprajapati08 4 ай бұрын
GOD LEVEL EXPLANATION 🙏❤️
@S330yt
@S330yt 2 жыл бұрын
At 13:00, we cannot derive the string "aabbba" Hence, the correct production rule is S -> aSb | bSa | a | b | SS | $
@harshchauhan3714
@harshchauhan3714 2 жыл бұрын
So u r saying aab will get accepted?
@S330yt
@S330yt 2 жыл бұрын
@@harshchauhan3714 No "aab" will not be accepted because a=2 & b=1. at 13:00, we are deriving strings with equal a's & b's. My grammar will always give you strings with equal a's & b's. But in the video solution, it cannot derive some of the strings.
@harshchauhan3714
@harshchauhan3714 2 жыл бұрын
@@S330yt bro take aSb and now according to ur grammar u can terminate S with a or b it will give aab or abb u r wrong
@safiullahakbar4971
@safiullahakbar4971 Ай бұрын
it can also accept single a and single b which is not true. Another correct possible solution could be: S -> SaSbS | SbSaS | $
@ramudgar7600
@ramudgar7600 6 ай бұрын
It's a Great channel ☺️ thank you ❤️ so much sir lots of love 💕 from Nepal ❣️
@chiragsingh4040
@chiragsingh4040 4 жыл бұрын
Dhanyavaad Sir
@jitenadvani1041
@jitenadvani1041 8 ай бұрын
Sir, I have a doubt in question 5 that if m=1 & n=0 so it should be S= a S b | a
@Abdullah-so6cm
@Abdullah-so6cm Ай бұрын
I have tried the same
@Uzair_ahmed537
@Uzair_ahmed537 3 жыл бұрын
your videos are very helpful
@g-sunny3198
@g-sunny3198 Жыл бұрын
Best teacher
@jayshrikhamk97
@jayshrikhamk97 3 жыл бұрын
Thanks🧡
@KrishnaHacker007
@KrishnaHacker007 2 жыл бұрын
Huge fan from Syria
@divyajami5458
@divyajami5458 3 жыл бұрын
Very informative, thanks 😄
@Terapap3117
@Terapap3117 4 жыл бұрын
Excellent
@nitinvadel849
@nitinvadel849 4 жыл бұрын
Sir you are genius
@shashankpandey7517
@shashankpandey7517 6 ай бұрын
subscribers bahut jaruri hai missing this line
@kavithapriyacj4868
@kavithapriyacj4868 3 жыл бұрын
Mind-blowing.sir..can u kindly make some important questions for gate 2021 on this grammar properties related sir.. please 🙏
@SohaibKhaliq
@SohaibKhaliq 2 жыл бұрын
Respect from Pakistan
@attiqurrahman5573
@attiqurrahman5573 3 жыл бұрын
Write two CFG’s for the regular expression (a + b)*
@doosanikitha1223
@doosanikitha1223 4 жыл бұрын
Sir... Pls make to understand the 2nd conversion
@doosanikitha1223
@doosanikitha1223 4 жыл бұрын
If I substitute n= 0 in 2nd conversion, what would be the ans? Can any one pls help me with this...
@adityaj7664
@adityaj7664 4 жыл бұрын
BB
@maknoonnadeem8990
@maknoonnadeem8990 3 жыл бұрын
Very nice sir...thanks alot
@Birjukumar-zq5sj
@Birjukumar-zq5sj 3 жыл бұрын
this lecture is very usefull♥♥♥♥
@yehumang8361
@yehumang8361 4 жыл бұрын
nc explanation sir. sir kuch aur example ke sath samjayien. muje language identify krne me problem hoti hai . yeh cfl hai csl hai ya reg
@bestofnow1162
@bestofnow1162 Жыл бұрын
great sir
@nidhib4228
@nidhib4228 4 жыл бұрын
Sir I am having huge respect for you. Sir 1 question tha please answer de dijiyega ye theory of automata ki series kitne din mae khatam hogi. Because I am new to this subject. Meri i.t. branch thi. Aur clg mae i.t. branch mae ye subject nhi padhaya gaya
@adityamali1862
@adityamali1862 Жыл бұрын
this video helped a lot !
@uzmahaneef5199
@uzmahaneef5199 2 жыл бұрын
I wish I had teachers like you at my college.
@VividVibes_Official
@VividVibes_Official 6 ай бұрын
very nice
@piyushtripathi5566
@piyushtripathi5566 3 жыл бұрын
Thank you sir ❤️
@shrutisatyams2146
@shrutisatyams2146 2 жыл бұрын
THANK YOU SOO MUCH🙂
@yashjadhav3974
@yashjadhav3974 4 жыл бұрын
thanks a lot sir
@ubaidaliawan6894
@ubaidaliawan6894 4 жыл бұрын
Thank you ... Sir...
@jayshrikhamk97
@jayshrikhamk97 3 жыл бұрын
Thanks....sirji
@sratnamanjari244
@sratnamanjari244 3 жыл бұрын
Thank You so much Sir 😊
@riyazuddin592
@riyazuddin592 Жыл бұрын
thanks a lot sir ❤
@vidwantechnoworld
@vidwantechnoworld 4 жыл бұрын
Thanks sir
@vinitakeer515
@vinitakeer515 4 жыл бұрын
Thank you sir
@amipatel2338
@amipatel2338 3 жыл бұрын
In 2nd example, answer should be S-> aSbb | lambda. Is it true? Bcoz n >= 0.
@mindbodyps
@mindbodyps 3 жыл бұрын
Thanks bro
@praneetabisen9665
@praneetabisen9665 4 жыл бұрын
thank u sir
@muhammadnoman8925
@muhammadnoman8925 3 жыл бұрын
sir Please guide me for line 2 s-->aSb/bb/E,here abslan can also occur as a third option while u have not written? guide me THnaku
@shyamtayal5479
@shyamtayal5479 4 жыл бұрын
In the last question if it was a^n b^m c^m d^n , n,m>=1 . How would we solve it?
@rashmidhant3364
@rashmidhant3364 4 жыл бұрын
S -> aSd | aS1d S1 -> bS1c | bc
@simransingh6137
@simransingh6137 3 жыл бұрын
Thank you sir
@fairystar4869
@fairystar4869 3 жыл бұрын
Great sir..u r
@swasthikbhat18
@swasthikbhat18 2 жыл бұрын
Thank you so much sir
@Saminaminaheheh
@Saminaminaheheh 3 жыл бұрын
You the 🐐
@HimamShaik-s2u
@HimamShaik-s2u 4 күн бұрын
Sir tum tho bhoot handsome dik rahehoo yaar🙃😌
@tech_and_memes
@tech_and_memes 2 жыл бұрын
maza a gyi nice video sir
@victoriavicky2696
@victoriavicky2696 Жыл бұрын
Sir,for a*2nb*n when n is 0 then it will be ab in the cfg explained we are getting only for n greater than 0
@020hamza2
@020hamza2 2 жыл бұрын
I am seeing your video because you are teaching tricks & other teachers not tell that
@preparingengineering
@preparingengineering Жыл бұрын
tnx
@dhrumildas6249
@dhrumildas6249 2 жыл бұрын
How will we convert CFG to CFL
@ALLINONE-ru6jy
@ALLINONE-ru6jy 4 жыл бұрын
Sir aap plz sat strucrure and algorithm ki nye series chalo kare plz sir
@apna_Contentt
@apna_Contentt 4 жыл бұрын
sir plz make a videos on computer graphics algorithm bcz nxt mnth ppr h computer graphics ka...................
@karangupta431
@karangupta431 3 жыл бұрын
please see -> how can 6) S -> aSb | bSa | SS | lambada for {w| na(w) = nb(w)} , generate string abbbaa, please clear it..
@CHOMU_
@CHOMU_ Жыл бұрын
here is the correct grammar for all types of equal no of a and b in a string S->aBS/bAS/ε A->a/bAA B->b/aBB
@vinitasingh1117
@vinitasingh1117 4 жыл бұрын
Once again 🙏
@priyanshu6931
@priyanshu6931 3 жыл бұрын
Thumbnail wale pic m Convertion likha hua h conversion hona chahiye...
@ratnakantahanse2661
@ratnakantahanse2661 3 жыл бұрын
Thank you sir....
@samarth2915
@samarth2915 2 жыл бұрын
the 2nd example wont be able to generate lamda or epsilon string though !!?
@dastagirwajahat
@dastagirwajahat 8 ай бұрын
Because that language also does not contain epsilon
@AdarshSingh-yf7gl
@AdarshSingh-yf7gl 4 жыл бұрын
Sir DSSSB TGT ki or v syllabus video bna dijiye plzzzz..🙏🙏
@anesp.a913
@anesp.a913 Жыл бұрын
14:17 The paliandrome representation of CFG can be S → aSa | bSb | a | b | ϵ ?
@ammarijaz8305
@ammarijaz8305 4 жыл бұрын
Sir mera paper hai 17 september ko conversion of CFG to CNF is per jaldi se lecture record ker dein plz
@yz7425
@yz7425 4 жыл бұрын
thank you !!!!!
Lec-49: Left Most & Right Most Derivation in CFG | TOC
6:22
Gate Smashers
Рет қаралды 618 М.
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 245 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 53 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
Conversion from Language to Grammar  || GATECSE || TOC
18:56
THE GATEHUB
Рет қаралды 95 М.
Pumping Lemma (For Context Free Languages)
8:06
Neso Academy
Рет қаралды 696 М.
3-year-old Anish Sarkar plays Major Piece Endgame like an adult
11:58
ChessBase India
Рет қаралды 40 М.
Lec-47: What is Context free grammar in TOC | Formal Definition
7:57
Gate Smashers
Рет қаралды 1 МЛН
cfg to pda conversion | conversion  | TOC | Lec-84 | Bhanu Priya
12:29
How to convert RL/RE to Context Free Grammar ( CFG )
16:06
Perfect Computer Engineer
Рет қаралды 10 М.
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН