1.0.0 • Published 3 years ago
@syaleni/ds v1.0.0
DS
Implementation of various data structures in JavaScript.
Installation
npm install @syaleni/DS
Usage
// ESM:
import * as DS from "DS";
// CJS:
const DS = require("DS");
Testing
npm run test
or run jest directly.
Data Structures
Queue
Tree
const tree = new Tree({ a: 1, b: [1, 2, [9, 10]], c: { d: 4, e: [5, 6] } });
1.0.0
3 years ago