Skip to content

Commit

Permalink
Merge branch 'developer-student-clubs:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisarg155 authored Oct 25, 2023
2 parents 3f9302b + b62b428 commit 3dd30c6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions npm_Modules/DataStructures/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Data Structures
The `datastructures` npm module is a production-ready implementation of data structures in JavaScript and TypeScript.

# Installation

```
npm install --save datastructures-js
```

# Features:

- It provides seamless interactions with Agilit-e APIs.
- It offers a heap-based implementation of a priority queue with TypeScript support.
- The module includes handy data structures for elements keyed by a string.
- It provides implementations of various data structures such as (Hash) Map, Heap, Graph, (Doubly) Linked List, Queue.
7 changes: 7 additions & 0 deletions npm_Modules/DataStructures/datastructures-js.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const { Graph } = require('datastructures-js'); // OR require('@datastructures-js/graph')

class CustomGraph extends Graph {
findShortestPath(pointA, pointB) {
// more code
}
}

0 comments on commit 3dd30c6

Please sign in to comment.