Searching in a multi-way tree
I created a two dimensional array that functions like a multi-way tree. The array is indexed by names in alphabetical order. Each element in
the array holds a name and a number pointing to its child all the way down to the leaf nodes. Can someone give me a general idea of how you can search for an element in a multi-way tree? I'm a little lost on what to do.
Re: Searching in a multi-way tree
Can you explain how this part works?
The array is indexed by names in alphabetical order
Can you Explain what each dimension of the array is for? Why is it a 2 dim vs a 1 dim or something else?