Whenever you're ready, walk me through how you'd approach this.
Describe a time you implemented a C++ function and validated it with testing.