Singly Linked Lists (SLL)

This lesson is a brief introduction to the functionality and purpose of the popular data structure called linked lists.

Introduction #

So far, we have seen how arrays store and organize data. JavaScript does not have a built-in linked list structure.

However, knowledge about linked lists can be very useful in coding interviews! In this section, we will cover the basic behavior of linked lists and show how to implement them in JavaScript syntax. Let’s get started!

Structure of a Singly Linked List #

The most primitive form of the linked list data structure is the singly-linked list. To start things off, let’s take a look at its basic structure:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.