Home > Back-end >  Delete the strange phenomenon
Delete the strange phenomenon

Time:09-21

This is a problem about binary tree:
In I delete node function, put to remove node to NULL before the output of the node index,
Then in the main function, has opened up the space of a tree, but when I was in the delete this tree each node in the output node is removed function index,
I want to ask, why the delete function to automatically delete node function call me?
  • Related