Whenever you're ready, walk me through how you'd approach this.
How do you manage memory and prevent leaks in a resource-constrained embedded environment? Walk through stack vs heap trade-offs, fragmentation risks, and how you would profile or detect leaks on a microcontroller.