📚 Understanding Queues

🎯 FIFO Principle

First In, First Out

Elements are added at the rear and removed from the front — like people standing in line at a ticket counter.

🌍 Real-life Examples

🎫 Ticket Counter - First person served first
🖨️ Printer Queue - Documents print in order
📞 Call Center - Earliest caller answered first

🧪 Queue Laboratory

Start adding items to see the queue in action!

👩‍💻 Array-based Queue

📚 Queue vs. Stack Comparison

Comparing Queue (FIFO) & Stack (LIFO)

📋 Operation Log
No operations yet...
Horizontal Queue (FIFO)
Empty
Vertical Stack (LIFO)
Empty