0.3.1 • Published 7 months ago
@jaydenlee/mini-data-structure v0.3.1
@jaydenlee/mini-data-structure
Install
Using npm:
$ npm install @jaydenlee/mini-data-structure
Using yarn:
$ yarn add @jaydenlee/mini-data-structure
Usage Preview
Node
import { Node } from '@jaydenlee/mini-data-structure';
const node1 = new Node(1);
console.log(node.value); // 1
console.log(node.next); // null
const node2 = new Node(2, node1);
console.log(node2.value); // 2
console.log(node2.next); // node1
More Information => Jayden's Mini Data Structure