Creating Linked Lists In JavaScript
Published in
6 min readApr 29, 2019
What Are Linked Lists?
A singly linked list is a data structure which represents a series of nodes where each node points to the next node in the list. A doubly linked list, in contrast, has nodes which point to the element preceding and following it.
Unlike an array, a linked list doesn’t provide constant-time access to specific indices within the list. So if…