0.1.23 • Published 1 year ago

stackedmate v0.1.23

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

StackedMate

StackedMate is a library that provides various data structures including Queue, Stack, SinglyLinkedList, DoublyLinkedList, and BinaryHeap. It's designed to be efficient and easy to use in your JavaScript or TypeScript projects.

Installation

To install StackedMate, run the following command:

npm install stackedmate

Usage

Here's how to use the StackedMate library:

import StackedMate from 'stackedmate'

Data Structures

Queue

A Queue is a collection that maintains elements in a linear order, allowing elements to be added at the end and removed from the front. It follows the First-In-First-Out (FIFO) principle.

Stack

A Stack is a collection that maintains elements in a linear order, allowing elements to be added and removed from the same end. It follows the Last-In-First-Out (LIFO) principle.

SinglyLinkedList

A SinglyLinkedList is a collection of nodes where each node points to the next node in the list. It allows for efficient insertion and removal of elements from the beginning and end of the list.

DoublyLinkedList

A DoublyLinkedList is a collection of nodes where each node points to both the next and previous nodes in the list. It allows for efficient insertion and removal of elements from the beginning and end of the list.

BinaryHeap

A BinaryHeap is a binary tree-based data structure that maintains elements in a partially ordered manner, ensuring that the highest (or lowest) element can be efficiently accessed and removed.

Contributing

If you want to contribute to StackedMate, please feel free to submit a pull request or report any issues you find.

License

StackedMate is licensed under the MIT License.

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.2

1 year ago

0.1.11

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago