Search:

Type: Posts; User: WeaKeN

Search: Search took 0.10 seconds.

  1. Thread: Recursion Help

    by WeaKeN
    Replies
    10
    Views
    2,600

    Re: Recursion Help

    It's an assignment I have for class, they must be implemented recursively.
  2. Thread: Recursion Help

    by WeaKeN
    Replies
    10
    Views
    2,600

    Re: Recursion Help

    public void add(E newEntry);
    public boolean add(int newPosition, E newEntry);
    public E remove(E item);
    public E remove(int position);
    public boolean replace(int givenPosition, E newEntry); ...
  3. Thread: Recursion Help

    by WeaKeN
    Replies
    10
    Views
    2,600

    Re: Recursion Help

    Well, if I implement getNodeAt recursively, I don't understand how I can implement add(E newEntry) recursively.
  4. Thread: Recursion Help

    by WeaKeN
    Replies
    10
    Views
    2,600

    Re: Recursion Help

    I'm working on add(E newEntry) now. It seems like for each of the methods that I need to implement recursively, the private getNodeAt method is doing most of the "hard work." I can make getNodeAt...
  5. Thread: Recursion Help

    by WeaKeN
    Replies
    10
    Views
    2,600

    Recursion Help

    Hello,

    I'm just learning about recursion and I need some help. I am given a class RLList (a Linked List) and told to re-implement these methods:

    public void add(E newEntry);
    public...
Results 1 to 5 of 5