Why there are two ways of accepting the input in PDA i.e. Acceptance by Final sate and Empty Stack I have seen examples which are accepted by both rules?
There are some examples which are only accepted by empty stack but I found they are NPDA's, is there any relation between them