Skip to content

A collection of TS/JS Data Structures and Algorithms implementations

License

Notifications You must be signed in to change notification settings

Pridestalkerr/DSA

Repository files navigation

Overview

This repository contains a comprehensive collection of self-contained, thoroughly tested packages for generic data structures, algorithms, and containers. Everything is written in pure TypeScript with no external dependencies. Additionally, it includes a mini-framework for local development of LeetCode challenges and solutions to all challenges I've personally completed (updated frequently).

Motivation

I like Computer Science and adjacent fields. I am also rather frustrated with the lack of standardized containers/algorithms within Javascript. While you can usually find an NPM package for specific needs, it's challenging to keep track of them as they're scattered and don't follow a common standard. (Note: This perspective is based on my current knowledge; there might be better resources I'm unaware of.)

(Why) Should you use this?

  • Learning Resource: Useful for Students or anyone interested in CS concepts.
  • Reference Material: Use it as solid references for implementing various data structures and algorithms.
  • Projects: Before using any of the packages in this repository you should consider reviewing the provided benchmarks (where available) to ensure they fit your requirements. Also make sure the implementation aligns with your usecase or expectations.

Repository Structure

  • /containers/*/ : General purpose containers for application layer development.
  • /algorithms/*/ : Efficient, highly customizable algorithms.
  • /data-structures/*/ : Extensible data structures for building more complex systems (or other structures).
  • /LC/*/ : Solutions to challenges and a mini framework for local development and testing.

Getting started

TODO

Available packages

TODO

Contributing

TODO