Whenever you're ready, walk me through how you'd approach this.
Explain the memory management model in C++ and how you prevent memory leaks.