Whenever you're ready, walk me through how you'd approach this.
Explain the core differences between a stack and a queue, and describe when you would use each in an embedded or systems context.