Concept Flow - Implement Stack Using Queue
Initialize empty queue
Push operation: enqueue new element
Rotate queue to move new element to front
Pop operation: dequeue front element
Top operation: peek front element
Check if queue is empty for isEmpty
Stack is simulated by using one queue where new elements are enqueued and then rotated to front to mimic LIFO order.
