Developer. Mentor.

A beginners guide to using Queue and Stack data structures in your code.

Photo by Levi Jones on Unsplash

When you start learning about data structures and algorithms, things can get complicated really fast. So this article is meant to slow things down and get you comfortable with two common data structures (Queues & Stacks) that are often used as the basic building blocks in more complex algorithm implementations.

Implement the Selection Sort Algorithm in JavaScript

Photo by Greg Jeanneau on Unsplash


We are going to review the high level mechanics of a Selection Sort Algorithm (SSA) and then dive into 3 different implementations using JavaScript.

The general idea behind an SSA is to scan through a list of integers, find the smallest element, move it to the front of the list…

Here we go with another sort algorithm implemented in JavaScript!

Photo by Djim Loic on Unsplash

Ok, so I have to admit, I really like this algorithm. It’s not the fastest sorting algorithm, nor is it the most efficient. But I happen to love the fact that this algorithm doesn’t compare values in a list to produce an ordered result! That’s right, the counting sort algorithm…

A guide to iterative and recursive implementations of the Insertion Sort Algorithm with JavaScript.

Photo by Lewis Ngugi on Unsplash

The Insertion Sort Algorithm (ISA) is another sorting algorithm that sorts a list (or array) of numbers. Unlike divide and conquer algorithms, the ISA scans through an array to find the smallest number and swaps it…

A simple guide to implementing the Quick Sort Algorithm in JavaScript.

Photo by Alessio Lin on Unsplash

The Quick Sort Algorithm (QSA) is yet another path to sorting elements in a list. In our case, we will be implementing the QSA in JavaScript and passing it an array of numbers to be sorted in ascending order.

What is a Quick Sort Algorithm?

Get a solid grip on Linear Search Algorithms and how to implement in JavaScript

Photo by Darius Bashar on Unsplash

Intimidated? Scared? Don’t be, the basics aren’t nearly as bad as some people make them out to be. In my experience, articles and online guides move a little to fast for Junior Developers to digest and include a lot of assumptions that aren’t as common as some Senior's think.


Tom Sanderson

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store