Search:

Type: Posts; User: Salem

Search: Search took 0.38 seconds.

  1. Replies
    5
    Views
    2,414

    Except they're implementing list, not stack.

    Except they're implementing list, not stack.
  2. Replies
    5
    Views
    2,414

    Rather than trying to be clever with pointers,...

    Rather than trying to be clever with pointers, why not write reverse in terms of remove() and insert()

    Remove the tail element of the old list, and insert it at the head of the new list.
Results 1 to 2 of 2