Skip to content

JKannekens/ts-dsas

Repository files navigation

TypeScript Data Structures & Algorithms

This project contains a collection of data structures implemented in TypeScript. It is designed to help developers understand and utilize common data structures in their TypeScript projects.

Table of Contents

Installation

To install the package, use npm or yarn:

npm install ts-dsas

or

yarn add ts-dsas

Usage

Import the data structures you need in your TypeScript project:

import { Tree, Stack, Queue } from "ts-dsas";

const tree = new Tree<number>();
const stack = new Stack<number>();
const queue = new Queue<number>();

Data Structures

This package includes the following data structures:

  • Stack
  • Queue
  • BinaryTree
  • Tree

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published