JavaScript Algorithms

Open-source JavaScript projects categorized as Algorithms

Top 23 JavaScript Algorithm Projects

  • javascript-algorithms

    📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

    Project mention: Minecraft Grub Theme | | 2023-07-18

    I'm reminded of the time when some kid wrote a script to crawl GitHub and create issues[1] about using inclusive language... except it was really dumb, for example:

    [1] E.g.:

  • JavaScript

    Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)

    Project mention: Unlock Your Full Potential as a JavaScript Developer: Dive into these Top GitHub Repositories and supercharge your skills! | | 2023-01-14

    The Algorithms JavaScript GitHub Repo

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • leetcode-patterns

    A pattern-based approach for learning technical interview questions

    Project mention: Ask HN: How do you make time for side projects and Leetcode grinding | | 2023-09-16

    Grinding leetcode is inefficient. What you should be doing is familiarizing yourself with the common patterns you might expect to see in an interview. Look at the blind 75 and

    Initially, you don’t need to solve any of the problems from scratch. Look up the problem on YouTube and someone will walk you through it. This will build your intuition of when to reach for a heap or for a DP array or when to do BFS, etc. If you don’t know these, then watch another video explaining the concepts. These videos are often 10-15 minutes a day so with a 30 minute time commitment you potentially can get through 3 a day, getting you through the complete blind 75 (more than enough) in less than a month or 1 of each of SP’s 22 patterns in a couple of weeks.

    The great thing is you don’t need dedicated time for this approach, you can often start a video while tackling laundry or doing some dishes.

    Then, start putting these into practice but spend no more than 10-15 minutes on the problem. If you can’t solve it, go watch the video again. There are so many times where you can have the right approach but make a stupid mistake that will cause you to flounder and you can pick up a better way of doing it. Eventually you will be solving these in 10-15 minutes and the time commitment will have remained at a minimum.

    After this, find a new job that is only 40 hours a week and voila you’ve just opened up 10-20 hours for personal projects.

  • dsa.js-data-structures-algorithms-javascript

    🥞Data Structures and Algorithms explained and implemented in JavaScript + eBook

    Project mention: 7 GitHub Repositories that every front-end developer must know. | | 2022-12-21
  • web-skills

    A visual overview of useful skills to learn as a web developer

  • algorithms.js

    Atwood's Law applied to CS101 - Classic algorithms and data structures implemented in JavaScript

    Project mention: 100+ Must Know Github Repositories For Any Programmer | | 2022-11-17

    10. Algorithms

  • Index

    Metarhia educational program index 📖

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • leetcode-the-hard-way

    LeetCode The Hard Way - From Absolute Beginner to Quitter. Join Discord:

    Project mention: After 3 years of LeetCode | /r/leetcode | 2023-08-25

    Some contributors and I also upload tutorials & solutions with explanations here. If you like the project, please give it a star on the repository. Also you can join the study group here.

  • Free-Algorithms-Books

    Free Algorithms books for programmers.

    Project mention: I do not understand DSA 😭 | /r/learnprogramming | 2023-07-12
  • quadtree-js

    A lightweight quadtree implementation for javascript

  • sorting-visualizer

    Sorting Algorithms Visualizer

  • tspvis

    🗺️ Visualize and control algorithms for the traveling salesman problem

    Project mention: What are your personal projects that you were most proud of | /r/csMajors | 2023-06-21 (source). Pretty unique and a lot of positive feedback

  • shortest-path-finder

    Shortest Path Finder visualizer using Breadth First Search algorithm

  • AlgorithmVisualizer

    A better visualization of different algorithms made with React

  • cs.js

    Computer Science Data Structures and Algorithms in JavaScript ( Node.JS, ES ) in simple, clean, reusable code

  • sortvisualizer

    Sort Visualizer Web App

    Project mention: [Learn Programming] J'ai créé un site Web pour visualiser et apprendre des algorithmes de tri, avec description et implémentations dans plusieurs langages de programmation | /r/enfrancais | 2023-05-11

    Ce projet est open source: [ DBAT (

  • datastructures-and-algorithms

    For JavaScript lovers | JavaScript Implementation of various data structures and algorithms. (by saalikmubeen)

  • sorting-visualizer

    A Sorting Algorithms Visualizer built using ReactJS (by KarimElghamry)

  • recommendations

    Neo4j Graph Example Movies Recommendation (by neo4j-graph-examples)

    Project mention: Getting started with Graph database using Neo4j | | 2022-11-04

    GitHub - neo4j-graph-examples/recommendations: Neo4j Graph Example Movies Recommendation |

  • VisualizingSorts

    Visualize sorting algorithms

  • Learning_Algorithms

    Data Structures And Algorithms

  • data-structures

    Examples of data structures and algorithms in Javascript

  • SortingAlgorithms

    Sorting algorithms visualized.

    Project mention: Sorting algorithms visualized | /r/coolgithubprojects | 2022-10-02
  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-16.

JavaScript Algorithms related posts


What are some of the best open-source Algorithm projects in JavaScript? This list will help you:

Project Stars
1 javascript-algorithms 175,272
2 JavaScript 27,903
3 leetcode-patterns 8,841
4 dsa.js-data-structures-algorithms-javascript 7,354
5 web-skills 6,679
6 algorithms.js 3,646
7 Index 3,220
8 leetcode-the-hard-way 713
9 Free-Algorithms-Books 529
10 quadtree-js 509
11 sorting-visualizer 479
12 tspvis 398
13 shortest-path-finder 202
14 AlgorithmVisualizer 190
15 cs.js 87
16 sortvisualizer 83
17 datastructures-and-algorithms 75
18 sorting-visualizer 39
19 recommendations 36
20 VisualizingSorts 25
21 Learning_Algorithms 12
22 data-structures 11
23 SortingAlgorithms 5
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.