Basic Linked List Operations

This lesson lists the various operations that can be performed on linked lists.

We'll cover the following...

Introduction

The primary operations that generally form a part of the LinkedList class are listed below:

  • insertAtTail(data) - inserts an element at the end of the linked list
  • insertAtHead(data) - inserts an element at the start/head of the linked list
  • delete(data)
...