Search:

Type: Posts; User: DuncanS

Search: Search took 0.22 seconds.

  1. Replies
    13
    Views
    1,173

    [SOLVED] Re: nary tree from string

    The out of memory error is caused because you never decrease p. Use --p instead of p - 1 here:
    Object get2 = a1.get(p-1);

    The ArrayOutOfBounds exception is because your break condition never...
  2. Replies
    13
    Views
    1,173

    [SOLVED] Re: nary tree from string

    It's your algorithm, so the burden is on you to make it right in the first place. If you want help with specific questions, this is the place, but from your initial question it seems as though you...
Results 1 to 2 of 2