C++ Interview - using new and delete to alloc and free memory

NoSuchKey