# loiane/javascript-datastructures-algorithms

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/loiane-javascript-datastructures-algorithms).**

4,862 stars · 1,250 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/loiane/javascript-datastructures-algorithms
- awesome-repositories: https://awesome-repositories.com/repository/loiane-javascript-datastructures-algorithms.md

## Topics

`algorithm` `avl-tree` `binary-tree` `data-structures` `deque` `dictionary` `dijkstra-algorithm` `graph` `graph-algorithms` `javascript-algorithms` `linked-list` `priority-queue` `queue` `quicksort` `set` `sorting-algorithms` `stack` `tree` `typescript` `typescript-algorithms`

## Description

This project is a library and educational resource providing implementations of foundational computer science data structures and algorithms written in JavaScript and TypeScript. It serves as a reference for executing standard sorting, searching, and recursive patterns using modern web technologies.

The collection includes typed implementations for both basic containers, such as stacks, queues, and linked lists, and advanced organizational patterns, including trees, heaps, tries, and graphs.

The material covers algorithmic analysis and problem solving through the use of Big O notation to evaluate time and space complexity. Implementations utilize class-based modeling and generic type parameterization to maintain type safety across various data types.

## Tags

### Education & Learning Resources

- [Computer Science Education](https://awesome-repositories.com/f/education-learning-resources/technical-domain-education/computer-science-education.md) — Offers a comprehensive set of JavaScript and TypeScript implementations for computer science education.
- [Fundamental Algorithm Study](https://awesome-repositories.com/f/education-learning-resources/fundamental-algorithm-study.md) — Provides a collection of foundational computational techniques, including sorting and searching, for study. ([source](https://github.com/loiane/javascript-datastructures-algorithms/blob/main/tsconfig.json))
- [Fundamental Data Structures](https://awesome-repositories.com/f/education-learning-resources/fundamental-data-structures.md) — Implements fundamental containers including stacks, queues, and linked lists for educational purposes. ([source](https://github.com/loiane/javascript-datastructures-algorithms/tree/main/src))
- [Algorithmic Problem Solving](https://awesome-repositories.com/f/education-learning-resources/technical-domain-education/computer-science-education/algorithmic-problem-solving.md) — Serves as an educational resource for mastering computational logic and efficient algorithmic problem solving. ([source](https://github.com/loiane/javascript-datastructures-algorithms/tree/main/src))
- [Recursive Problem Solving](https://awesome-repositories.com/f/education-learning-resources/technical-domain-education/computer-science-education/algorithmic-problem-solving/recursive-problem-solving.md) — Utilizes recursive function calls to solve nested data problems and traverse hierarchical structures.
- [JavaScript Implementations](https://awesome-repositories.com/f/education-learning-resources/technical-domain-education/computer-science-education/computer-science-concepts/javascript-implementations.md) — Implements foundational computer science algorithms and data structures specifically using JavaScript.
- [Advanced Data Structures](https://awesome-repositories.com/f/education-learning-resources/advanced-data-structures.md) — Provides instructional content and implementations of complex nested data structures.
- [Educational Programming Resources](https://awesome-repositories.com/f/education-learning-resources/educational-programming-resources.md) — Provides a structured collection of source code examples for learning computational logic and problem solving.
- [Algorithm Implementation Guides](https://awesome-repositories.com/f/education-learning-resources/educational-resources/algorithms-theory-academics/algorithm-data-structure-guides/algorithm-guides/algorithm-implementation-guides.md) — Bridges conceptual algorithmic logic with concrete JavaScript and TypeScript source code implementations.
- [Algorithm Implementations](https://awesome-repositories.com/f/education-learning-resources/educational-resources/algorithms-theory-academics/cs-theory-foundations/algorithms/general-collections-and-study/algorithm-implementations.md) — Provides practical code implementations of algorithms to demonstrate time and space complexity.

### Data & Databases

- [Data Structure Implementations](https://awesome-repositories.com/f/data-databases/data-structure-implementations.md) — Implements complex organizational patterns such as trees, heaps, tries, and graphs. ([source](https://github.com/loiane/javascript-datastructures-algorithms/tree/main/src))

### Software Engineering & Architecture

- [Complexity Analysis](https://awesome-repositories.com/f/software-engineering-architecture/complexity-analysis.md) — Provides theoretical analysis of algorithmic time and space efficiency using Big O notation.
- [Linked Data Structures](https://awesome-repositories.com/f/software-engineering-architecture/linked-data-structures.md) — Implements linked data structures using object references to connect nodes in sequences.
- [Class-Based Data Modeling](https://awesome-repositories.com/f/software-engineering-architecture/class-based-data-modeling.md) — Uses JavaScript and TypeScript classes to encapsulate data storage logic and structure manipulation.

### Programming Languages & Runtimes

- [Generic Types](https://awesome-repositories.com/f/programming-languages-runtimes/generic-types.md) — Employs TypeScript generics to ensure type safety across various data structure implementations.
