re: Do you think there is a language better suited for solving data structures and algorithms? VIEW POST


You can definitely use other languages to learn DS & A, but you can still learn about them in JS too. Here's a couple of JS specific resources:

GitHub logo jamiebuilds / itsy-bitsy-data-structures

🏰 All the things you didn't know you wanted to know about data structures

Itsy Bitsy Data Structures

Welcome to Itsy Bitsy Data Structures!

In here are super simplified examples of many of the common data structures written in easy to read JavaScript.

Reading through the guided code will help you learn about what data structures are, what their uses are, and how to discuss them.

Want to jump into the code? Click here

Also be sure to check out my other code walkthrough The Super Tiny Compiler

Why should I care?

Data Structures might not be the juiciest topic in the world, but they are hugely important to growing as an engineer. Knowing data structures don't just make your programs faster and more efficient, but they help you organize your code and your thoughts so that you can build more complicated programs without a ton of mental overhead.

But data structures are scary!

Yeah, lots of computer science topics are intimidating, and that's largely a fault of…

GitHub logo manrajgrover / algorithms-js

Consumable Data Structures and Algorithms library in JavaScript

algorithms-js Build Status Build status npm npm awesome

Consumable Data Structures and Algorithms library in JavaScript



$ npm install algorithms-js

Or use unpkg:

<script src="https://unpkg.com/algorithms-js/dist/algorithms.min.js"></script>

Or use jsdeliver:

<script src="https://cdn.jsdelivr.net/npm/algorithms-js/dist/algorithms.min.js"></script>


Library contains both algorithms as well as data structures:

Data Structures

Currently, library supports following data structures:


Currently library supports following algorithms:


Various Searching algorithms:


Various Sorting algorithms:


Various Math algorithms:


Various String algorithms:


Various Geometry algorithms:



$ git clone https://github.com/manrajgrover/algorithms-js.git
$ cd

There's also some courses on egghead and Front End Masters, but not free of course.

And as mentioned, @vaidehijoshi , is a great follow for this kind of stuff.

Code of Conduct Report abuse