This shows three programs.
* A simple singly-linked list. This shows the basics.
* A doubly-linked list. This is almost as simple as the singly-linked list, but makes some operations easier.
* Use of the java.util.LinkedList class, which is easy to use because it hides the details.
Simple singly-linked list done "by hand"
* A simple singly-linked list. This shows the basics.
* A doubly-linked list. This is almost as simple as the singly-linked list, but makes some operations easier.
* Use of the java.util.LinkedList class, which is easy to use because it hides the details.
Simple singly-linked list done "by hand"