JavaScript-algorithms: Algorithms and data structures implemented in JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. javascript-algorithms

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

    Traditionally, a linked list allows you to insert before/after a node. i.e. addBefore(node,value) (see [2] ) He doesn't implement addBefore & addAfter.

    Instead, he provides a whole bunch of non-canonical helpers like reverse(), toArray(), deleteTail() etc - these are typical LC-Easy problems that don't belong inside the data structure.

    My own introduction to these things was a C course called "Data Structures in C" in the traditional CS curriculum, and yes, you would have to malloc a new node, get back a pointer with a memory address, & the process of pointing the next pointer of the current node to this new node so that the memory address of the next value was explicitly "linked" to the current value and hence linked list etc...I guess much of that terminology is lost on the new generation in the absence of pointers & memory addresses.

    The canonical exercise in those days was - Show that a linked list does not store objects in contiguous memory, unlike an array. So to solve this, you would traverse the list from the head node & print the actual addresses of the memory locations along the way, proving that the vals aren't stored contiguously. I wonder what that exercise would mean in JS land.

    That said, yeah its a good starting point & I applaud the effort.

    [1]https://github.com/trekhleb/javascript-algorithms/blob/maste...

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. functional-programming-jargon

    Jargon from the functional programming world in simple terms!

    Another useful resource is Functional Jargon Explained (in Javascript): https://github.com/hemanth/functional-programming-jargon

  4. mnemonist

    Curated collection of data structures for the JavaScript/TypeScript language.

  5. React

    The library for web and native user interfaces.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • JavaScript evolution: From Lodash and Underscore to vanilla

    5 projects | dev.to | 19 Dec 2024
  • Lodash just declared issue bankruptcy and closed every issue and open PR

    7 projects | news.ycombinator.com | 16 Sep 2023
  • Ramda: A practical functional library for JavaScript programmers

    7 projects | news.ycombinator.com | 4 Aug 2023
  • Discovered a 63kb tiddlywiki like self saving HTML+JS wiki and its looking cool

    10 projects | news.ycombinator.com | 22 May 2022
  • 10 JavaScript and NodeJS Tips that Will Knock Away Multiple Concepts

    5 projects | dev.to | 11 Mar 2022