Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Data Structures and Algorithms in JavaScript



This course teaches you how to implement your first data structures and algorithms. In the process, you’ll learn some fundamental computer science concepts as well. We’ll build these from scratch using JavaScript, but what we learn can be taken and used in any other language, too.
You will learn how to build: queues, stacks, linked lists, graphs, and trees. You’ll learn to implement several different sorting algorithms: bubble, insert, merge, and quick. Each of these lessons will not only teach you their implementation, but the tradeoffs made in choosing one over another. By proxy, you’ll learn about concepts like Big O notation and recursion.


  • Course Introduction: Data Structures and Algorithms in JavaScript
  • Queue Data Structure in JavaScript
  • Priority Queue JavaScript Data Structure
  • Stack Data Structure in JavaScript
  • Linked List Data Structure in JavaScript
  • JavaScript Graph Data Structure
  • Breadth First JavaScript Search Algorithm for Graphs
  • Write a Depth First Search Algorithm for Graphs in JavaScript
  • Tree Data Structure in JavaScript
  • Build a Binary Tree in JavaScript and Several Traversal Algorithms
  • Sort an Array with a JavaScript do while Loop using Bubble Sort
  • Sort an Array with a Nested for Loop using Insertion Sort in JavaScript
  • Divide and Recurse Over an Array with Merge Sort in JavaScript
  • Recursively Sort an Array in JavaScript with Quick Sort

Taught by

Kyle Shevlin


4.5 rating at based on 461 ratings

Start your review of Data Structures and Algorithms in JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.