I need some help for implementing a n-ary tree.I have found information on the internet on how to implement a binary tree and binary search tree,but i still can't figure out how to use the same procedure to write some code for a n-ary tree.I need to be able to do the following operation on the tree: insert node,delete node,set empty,print nodes,comparing trees.
Any hint is very welcome !
Any hint is very welcome !