Applications of Queue Data Structure
Applications of Queue Data Structure
Applications of stack
2. Language processing:
space for parameters and local variables is created internally using a stack.
compiler's syntax check for matching braces is implemented by using stack.
support for recursion.
Expression evaluation like postfix or prefix in compilers.
3. Backtracking (game playing, finding paths, exhaustive searching.
Applications of Queue