how to create an array of linked lists
The Beginning of a Linked List. If you create an array-based list, you can start by declaring an array member variable that would hold the items and each item can be located by an index that is assigned to it when the item is added to the list.