Category: Data Structures & Algorithms

Visualization of an array 0

The ArrayList – A fundamental data structure

Let’s take a look at a great data structure provided in Java – The ArrayList. The ArrayList is a standard Java class which resides in the java.util package. In other words, you don’t have to add any libraries or dependencies to your project – the ArrayList is already there, or...

visualization of insertion into a linked list 0

Implementing a Linked List in Java

Today we are going to have a look at an interesting data structure, the Linked List. We’ll start of by describing the nature of a Linked List, before implementing a Linked List in Java. What is a Linked List? A linked list is a collection of data elements, stored in...