Stack and Queue Applications

Queue Applications

Stack Applications


Expression Evaluation

Expression Types

  1. Infix: a + b (human-readable format)
  2. Prefix: + a b (operator before operands)
  3. Postfix: a b + (operator after operands, computer/ALU friendly)

Postfix Evaluation Algorithm