Skip to content

JaydenLee1116/mini-data-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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