Pushdown Automata Example - Even Palindrome (Part 3)

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 55

  • @manvithyadavdega3921
    @manvithyadavdega3921 4 роки тому +66

    You, sir, have provided the best lecture "trio" I have ever watched.... lec - 88, 89, 90.

  • @Apoorvpandey
    @Apoorvpandey 3 роки тому +14

    This was the perfect explanation i was looking for in part 1

  • @texas_mike4982
    @texas_mike4982 Рік тому +8

    Your videos are helping so much, but do you have an example of this with a transition table?

  • @imprakrut
    @imprakrut 6 років тому +3

    Brilliant explanation!

  • @bipinbharti9066
    @bipinbharti9066 6 років тому +26

    alignment is improper this video should be at 88 place of this series

  • @ShusenAcademy
    @ShusenAcademy 4 роки тому +7

    Is this approach, i.e., introducing epsilon between the inputs, inefficient ? Because for each input, you have to explore 2 possibilities. Is there way to do pruning so that we can stop the wrong branch as early as possible ?

  • @TheBigDuckDuck
    @TheBigDuckDuck 4 роки тому +2

    not a man but a legend

  • @vaibhavsinghtomar9231
    @vaibhavsinghtomar9231 Рік тому +3

    Why didn't you take the case of epsilon on the first state when we are at q2, I think when we have an option like 'epsilon and then a letter,' then we can choose epsilon or the letter, but if we have the case like 'a letter and epsilon', we can only choose the letter and we don't have a choice.

  • @abhishekparashar8265
    @abhishekparashar8265 7 років тому +5

    Sir, How much time will you take to upload complete course of TOC?

  • @dhakshinamurthy4629
    @dhakshinamurthy4629 7 років тому +2

    Please upload remaining videos I have exam next month, your videos helped me lot.

  • @pranavanilkumar8592
    @pranavanilkumar8592 7 років тому +4

    is pda and determininistic pda the same?? what about npda ?? equivalence of npda & cgf ... please upload this videos as soon as possible......

  • @sahilaverma8042
    @sahilaverma8042 7 років тому +6

    can i have the video of odd pallindrome? on urgent basis

  • @randomengg989
    @randomengg989 2 місяці тому

    great sir

  • @ohadlev77
    @ohadlev77 2 роки тому +2

    A little question.
    It seems to me that this PDA will accept an empty string as well, because it can perfoem an epsilon transitions all the way to q4 in the following manner:
    1. ε-transition from q1->q2, pop nothing, push z0, .
    2. ε-transition from q2->q3, pop nothing, push nothing.
    3. ε-transition from q3->q4, pop z0, push nothing.
    So I think this PDA may accept an empty string or even reach to q4 before any input.
    What am I missing?

    • @alexl5010
      @alexl5010 2 роки тому +4

      Technically empty string may be considered as an even palindrome

    • @Pranauv
      @Pranauv Рік тому

      i think they assume empty string to be an even palindrome

    • @TheBoringEdward
      @TheBoringEdward Рік тому +1

      Incorrect. Due to there only being a single epsilon, as you described, the PDA would get stuck at q2, causing it to be unacceptable.

  • @SubhrodipMohanto
    @SubhrodipMohanto 6 років тому +7

    The current position of this lecture in the playlist is #79, which is wrong!
    The placement should have been done after #88(current order).
    Please UPDATE the playlist order.
    Thank You.

  • @aqsakanwal4778
    @aqsakanwal4778 2 роки тому +2

    how it will work for abbbba??? because at the second 'b' there would also be 'b' in the stack at top most.

  • @sudhirpatil6240
    @sudhirpatil6240 7 років тому +2

    Plz add next lecturers plzz...

  • @ahmetkarakartal9563
    @ahmetkarakartal9563 3 роки тому

    thank you so much

  • @lamaspacos
    @lamaspacos 8 місяців тому +1

    12:35

  • @nishaagarwal3659
    @nishaagarwal3659 5 років тому +1

    sir i have watched all your videos from the begining and they have really helped me a lot in all aspect but sir i this some part of the video is missing before this video beacuse you have suddenly started push down automata from nowhere and i am getting bit confused

    • @rajdeepnegi9957
      @rajdeepnegi9957 5 років тому

      this video's correct position is at 91,after 90-> PDA(Even pallindrome part2),so skip it for now

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 4 роки тому

    Thankyou sir

  • @aviralanurag8774
    @aviralanurag8774 6 років тому +1

    can you give me the link where you've discussed the examples 1&2 for push down automata

  • @diptangshuray3528
    @diptangshuray3528 Рік тому

    sir shall we write the state transition diagram only in the exam or we have to show the the stack diagram also

  • @Jerdz
    @Jerdz 6 років тому +1

    One little thing : This video isnt in the right place of the Playlist, beside that its a good video

  • @mcmorphy4770
    @mcmorphy4770 6 років тому +1

    Please, someone explain if two states are active simultaneously , which one access stack content first?

    • @akhilrajkumar894
      @akhilrajkumar894 3 роки тому

      NPDA is a hypothetical model and can't be implemented practically.

  • @manasghosh6985
    @manasghosh6985 6 років тому +1

    You have misplaced the videos 87 and 78. please do the needful. :)

  • @harigopal3844
    @harigopal3844 6 років тому

    Where are the part 1&2 for pushdown automata

  • @fluffypanda3
    @fluffypanda3 5 років тому

    How come he doesn't include the epsilon right in the beginning? Because it can be eeeaebe...

  • @supremacy_44
    @supremacy_44 4 місяці тому

    how to design pda ??

  • @romakhadka4013
    @romakhadka4013 7 років тому

    I can't find Turing machine explanation??

  • @AnuragDutta842
    @AnuragDutta842 6 років тому

    Order of this video is wrong. It could cause confusion among students since it is placed here.It should be placed after pushdown automata introduction and after part 1 and 2.

  • @anshulbansal8828
    @anshulbansal8828 4 роки тому

    so I have one doubt regarding this explanation, see we have the string in form "eaebeaebe" where e stands for epsilon, right? so at the very first transition we can either get 1st e or a as an input, but as we have no Non-deter PDA we don't have any branch for input a on state q1, right?, so simple you have neglected first branch and took e as only the option as input, then second transition you have taken a which seems to be correct, till now we have inputted "ea" okay? now you have took 2 transition one for e (so the string form inputted after this transition "eae") and one for b (so the string form inputted after this transition "eab") , completely right!
    Nowwwwwwwwwwwwwwwwwwwwwww, after we have explored the branch "eae" why do we have two options as next transition , after "eae" we should have only one option "b" as an input and not "e", as after and only after input "b" it can have the access to the next epsilon (the third epsilon) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! "eae" ->b = "eaeb" -> e|a

    • @bmspranavaraman225
      @bmspranavaraman225 3 роки тому

      there can be any number of epsilons before and after a character

  • @funzone6028
    @funzone6028 6 років тому

    If we reached the final state but our stack is not empty then the string is accepted or not

  • @RishabhKumar-sf5vb
    @RishabhKumar-sf5vb 4 роки тому

    how pda decide string is valid or not

  • @mananshah4184
    @mananshah4184 5 років тому

    Will palindrome PDA fail or not for abbabb

    • @mananshah4184
      @mananshah4184 5 років тому

      Like it is not a palindrome but the PDA accepts it .Or does it not?

    • @Deathtonewworldorder
      @Deathtonewworldorder 5 років тому

      It is not a palindrome. But do you mean like
      A push
      B push
      B pop
      A pop
      B push
      B pop ??

  • @chiragsharma8905
    @chiragsharma8905 Рік тому +1

    Correct way: (Tutorials Point)
    (bit wrong in Neso).
    At first, we have to assume that L is regular.
    So, the pumping lemma should hold for L.
    Use the pumping lemma to obtain a contradiction −
    Select w such that |w| ≥ c
    Select y such that |y| ≥ 1
    Select x such that |xy| ≤ c
    Assign the remaining string to z.
    Select k such that the resulting string is not in L.

  • @dangbey4822
    @dangbey4822 2 роки тому

    What the heck is that? what is the difference between part 2 and 3 omg

  • @梁枫-w8o
    @梁枫-w8o 4 роки тому

    it seems a string of 3 consecutive epsilon, which still is a empty string, can be accepted, but it shouldn't in this case

    • @drkaranmannan
      @drkaranmannan 4 роки тому +2

      but isnt an empty string the same forwards and backwards? if E is my empty string (E = " "), then E == reverse(E) right? and E has length 0, which is even, so it should fit the even palindrome machine.