Memory Testing
If you are using Windows or Linux (including a Codespace), see the AddressSanitizer guide for instructions on how to set up and use AddressSanitizer.
If you are using a Mac, see the Leaks guide for instructions on how to set up and use Leaks.
Instructions for using Valgrind are also available, but it should only be used as an alternative if suggested by your instructor or if you want to try it out as an alternative tool.