...

/

Basic Linked List Operations

Basic Linked List Operations

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

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

  • get_head() - returns the head of the list
  • insert_at_tail(data) - inserts an element at the end of the linked list
  • insert_at_head(data) - inserts an element at the start/head of the linked list
  • delete(data) - deletes an element with your specified value from the linked list
...