Results 1 to 2 of 2
  1. #1
    Klusps is offline Member
    Join Date
    Sep 2011
    Posts
    4
    Rep Power
    0

    Default 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.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,587
    Rep Power
    25

    Default Re: Searching in a multi-way tree

    The array is indexed by names in alphabetical order
    Can you explain how this part works?
    Can you Explain what each dimension of the array is for? Why is it a 2 dim vs a 1 dim or something else?

Similar Threads

  1. Multi-Panel multi-class GUI communication
    By manji51 in forum AWT / Swing
    Replies: 4
    Last Post: 05-25-2011, 02:54 PM
  2. Replies: 0
    Last Post: 04-04-2010, 08:40 AM
  3. Creating a Tree and then saving the Tree
    By jackmatt2 in forum New To Java
    Replies: 0
    Last Post: 08-22-2009, 01:51 PM
  4. How to create a SWT Tree with multi columns
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •