Reputation: 1
I am new to C++ and I'm trying to create to learn more about K-ary Trees. Could you help me define a KAryTreeNode
, assuming the information stored in the node is a character array.
Upvotes: 0
Views: 1477
Reputation: 4443
class KAryTreeNode{
char * data;
vector<KAryTreeNode *> children;
};
something like that.
Upvotes: 2