$L= \{ a^nb^m | n \le m \le 2n \}$
As you may recall, I posted a question a few hours ago about designing a PDA for a language similar to the one I have now. I have seen that the easiest way to construct it is to define a CFG for the language, and then transform it to non-deterministic PDA which accepts strings by empty stack.
However, for this exercise, we have been forbidden to do that. We have to construct an automaton which accepts strings with a final state. Here's my proposed solution:
Here's my reasoning. If I was to construct a context-free grammar, the rules of production would be $S \to aSb | aSbb|\epsilon$. I tried to do something similar here by putting $a$ and $aa$ on the stack for the same input symbol and the same popped symbol from the stack, creating a non-deterministic PDA.
My question is: Am I correct to assume this is a correct interpretation of non-determinism?