data structures

Discussion in 'Java' started by jova, Mar 27, 2006.

  1. jova

    jova Guest

    does anyone know of a link where i can take a look at tenary trees (when a
    node has more than two children) to see how they work?
    jova, Mar 27, 2006
    #1
    1. Advertising

  2. jova

    Oliver Wong Guest

    "jova" <> wrote in message
    news:44283045$...
    > does anyone know of a link where i can take a look at tenary trees (when a
    > node has more than two children) to see how they work?


    It can be as simple as:

    <pseudoCode>
    public class TernaryNode<T> {
    public T dataHere;
    public TernaryNode<T> firstChild, secondChild, thirdChild;
    }
    </pseudoCode>

    - Oliver
    Oliver Wong, Mar 27, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dennis Gavrilov
    Replies:
    1
    Views:
    1,433
    Dennis Gavrilov
    Jul 24, 2003
  2. MIke Beam

    Data Structures help

    MIke Beam, Oct 10, 2003, in forum: Java
    Replies:
    5
    Views:
    500
    antroy
    Oct 14, 2003
  3. learningjava

    data structures in java reference

    learningjava, Oct 15, 2003, in forum: Java
    Replies:
    3
    Views:
    422
    Samuel Barber
    Oct 16, 2003
  4. tweak
    Replies:
    14
    Views:
    2,755
    Eric Sosman
    Jun 11, 2004
  5. Alfonso Morra
    Replies:
    11
    Views:
    696
    Emmanuel Delahaye
    Sep 24, 2005
Loading...

Share This Page