CircularDoublyLinkedListDemo - list.insertAtPos\"Teddy 1 list.insertAtPos\"Mary 2 list.insertAtPos\"Carol 3 list.insertAtPos\"Peter 4 list.deleteAtPos(0

CircularDoublyLinkedListDemo - list.insertAtPos"Teddy 1...

This preview shows page 1 out of 1 page.

public class CircularDoublyLinkedListDemo { public static void main(String[] args) { linkedList list = new linkedList(); System.out.println("Circular Doubly Linked List Test"); list.insertAtStart("Amy"); list.insertAtEnd("Bob");
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Spring '14
  • Array data structure, Array data type, Doubly-linked list

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture