Whenever you're ready, walk me through how you'd approach this.
Explain the difference between the heap and the stack.
Clarify where each is used, how allocation and lifetime differ, and what happens when either is exhausted. Include one security or reliability risk associated with each region.