Write a C program to Delete a Tree. | GeeksforGeeks To delete a tree we must traverse all the nodes ...

Please Visit: http://ift.tt/1ajReyV



Write a C program to Delete a Tree. | GeeksforGeeks

To delete a tree we must traverse all the nodes of the tree and delete them one by one. So which traversal we should use – Inorder or Preorder or Postorder. Answer is simple – Postorder, because before deleting the parent node we should delete its children nodes first

http://ift.tt/1gej4PI

http://ift.tt/1t0R51s



Write a C program to Delete a Tree. | GeeksforGeeks







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1tHMDlB

via LifeLong Community

No comments:

Post a Comment