Pset5 Speller - Valgrind locally no error, check50 won‘t pass (Fixed)

Hi all, just spent 8 hours trying to find out why my code passed check50, had the exact same output as staff, had literally 0 leaks and errors when running Valgrind on my end but still wouldn’t pass check50 Valgrind.

Let me save you some time:

If you, like me, started CS50 in 2020 and continued doing the lectures and assignments from 2020, you have to submit via the new, 2022 link and not the old one. I just had a blast figuring that out. Haha.

The bug is always where you don’t expect it.

Done with week5 and happy!