Linked List Activities

Linked List Class

  1. Add a method prepend that adds an element at the beginning of the list.
  2. Add a method to the class reverse that that reverses the order of the linked list.
  3. Modify the link list to maintain the list in asending order (requires that the type supports the < operator)
  4. Make the list doubling linked. Change append and prepend as needed.
Scroll to Top