Data Structures & Algorithms

Back to Posts

About

Why learn how to implement a Linked List if every major programming language already has one for you to use? The answer is that it demystifies the abstractions that you rely on. When you understand how they work, you'll use them more effectively and be able to build your own if needed. Plus, it will be helpful for you to build more complex utilities for others to use when there's no existing implementation (yet).

Posts

How to Implement a Linked List in Python

Need a quick run down on a classic data structure? Look no further.

over 6 years ago • June 20, 2017

Blog Post
How to Implement a Stack in Python

There's no other data structure like the Stack. In only a few minutes, you can have a fully working implementation that can be used to solve a wide variety of problems.

over 6 years ago • June 22, 2017

How to Implement a Queue in Python

You may hate the line at the DMV, but without it, things might turn into a rough-and-tumble free for all! In the same way that a line keeps raging motorists from getting out of hand, a Queue helps your computer keep its ducks in a row.

over 6 years ago • June 23, 2017

How to Implement a Hash Table in Python

This tutorial will show you how to implement a hash table with "separate chaining." It's not the most efficient method, but it is the simplest way to get started and create a fully functioning hash table.

about 6 years ago • November 24, 2017

Blog Post
How to Implement a Binary Search Tree in Python

A Binary Search Tree (BST) gives you two choices: left or right, less than or greater than, 0 or 1 - hence the name, binary.

over 5 years ago • April 19, 2018

Merge Sort in Python

In this video, we learn the ins and outs of Merge Sort, a sorting algorithm that will come in handy in many situations. We go over theory, and then visualize the entire sorting process from start to finish.

over 5 years ago • September 28, 2018

Quicksort in Python

In this video, we learn the ins and outs of Quicksort, a sorting algorithm that will come in handy in many situations. We go over theory, and then visualize the entire sorting process from start to finish.

over 5 years ago • September 23, 2018

Bubble Sort in Python

In this video, we learn the ins and outs of Bubble Sort, a sorting algorithm that will come in handy in many situations. Well, maybe just in your programming classes.

about 5 years ago • October 5, 2018

Insertion Sort in Python

In this video, we learn the ins and outs of Insertion Sort, a sorting algorithm that will come in handy in many situations. We go over theory, and then visualize the entire sorting process from start to finish.

about 5 years ago • October 13, 2018