Is my implementation correct ? Do we have to delete the list using destructor like we did in dynamic array or is it fine?
Is this code fine
It is correct np
you can delete dynamically allocated memory if you want
Is my implementation correct ? Do we have to delete the list using destructor like we did in dynamic array or is it fine?
It is correct np
you can delete dynamically allocated memory if you want