Why do we not delete all the nodes?

We should delete all the nodes at the end of the program so as to free up space. Why do we do not do this?

hello @namangarg2000
you already know the answer, we want to free up the space that our program has used so that the used memory can now be used by other programs/process .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.