Whenever you're ready, walk me through how you'd approach this.
How would you implement a queue using two stacks?
Explain how enqueue and dequeue operations preserve FIFO order using only stack operations. Include the time and space complexity, discuss amortized analysis, and describe how you would handle peeking and empty-queue behavior.