10 10 votes There are two possible acceptance criteria: acceptance by empty stack and acceptance by final state. The two are not equivalent for the deterministic pushdown automaton (although they are for the non-deterministic pushdown automaton). The languages accepted by empty stack are those languages that are accepted by final state and are prefix-free: no word in the language is the prefix of another word in the language. This is the quote from Wikipedia....plz explain why acceptance by empty stack and acceptance by final state are not equivalent in case of DPDA but it is equivalent in case of NPDA Theory of Computation + – himgta 5.4k views answer comment Share Follow Print See all 7 Comments 7 7 Comments reply Show 4 previous comments hetgate22 commented Sep 11, 2021 i moved by Shaik Masthan Jan 9, 2022 reply Follow flag Thanks Brother, it helped alot. 0 0 replyShare gaurav_kumar commented Mar 12, 2022 reply Follow flag @MiNiPanda, what a nice explanation, grateful 0 0 replyShare Rish@bh_shukl@ commented Aug 23, 2025 reply Follow flag Thanks @MiNiPanda 0 0 replyShare Please log in or register to add a comment.