Push Down Automata

Pushdown Automata is a finite automata with extra memory called stack which helps Pushdown automata to recognize Context Free Languages.

PDA working schema:

A Pushdown Automata (PDA) can be defined as :

Q is the set of states
∑is the set of input symbols
Γ is the set of pushdown symbols (which can be pushed and popped from stack)
q0 is the initial state
Z is the initial pushdown symbol (which is initially present in stack)
F is the set of final states
δ is a transition function which maps Q x {Σ ∪ ∈} x Γ into Q x Γ*. In a given state, PDA will read input symbol and stack symbol (top of the stack) and move to a new state and change the symbol of stack.

Meanings of Diagram Labels:  




Push Down Automata Visualization

PDA example for L = { 0^n 1^n | n>=0}

Input =


Chars:  


References

sadievrenseker.com geeksforgeeks.org