CJCoding With Joseph
15free / daySign inCreate account

Data Structures & Algorithms

Intro To Linked Lists

Linked Lists

A linked list is a data structure made up of a root and a series of nodes. The root holds the starting position of the linked list, while each node stores two things:

  1. A value (data).

  2. A reference (or pointer) to the next node in the list.

Instead of storing data in a fixed, ordered way like an array, a linked list builds its structure dynamically, one piece at a time. You can only move through it by following the pointers from one node to the next until you reach the end.

Members only

Keep reading this lesson

You've reached the end of the free preview. Unlock the rest of this lesson plus 42 more lessons in Data Structures & Algorithms.

  • Unlimited coding questions
  • Unlimited access to all classroom material
  • Weekly live call for questions and guidance
  • 3,000 AI tutor tokens / month
  • Personal SQL database (3 MB)
  • Progress tracking

Cancel any time.