Search:

Type: Posts; User: Junky

Search: Search took 0.10 seconds.

  1. Replies
    13
    Views
    1,730

    Re: Infinite loop on double linked list

    How do you add a new element to the List?

    --- Update ---

    OK

    Just looked at the code and it seems you are maintaining a Sorted List. Normal List implementations have two instance variable,...
  2. Replies
    13
    Views
    1,730

    Re: Infinite loop on double linked list

    Your choice of variable names is confusing: previousElement begins by pointing to the next element.
    A quick look at the first loops it seems you are actually reordering the first two elements over...
Results 1 to 2 of 2