1.0.0 • Published 4 years ago

hash-table-ds v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

hash-table

Hash Table implementation in JavaScript

Installation & Usage :

npm install hash-table-ds
const HashTable = require("hash-table-ds");

let ht = new HashTable();

ht.set('name', 'kumar'); // Set key value pair in hash table
bst.get(name); // Get value from the hash table
bst.keys(); // Returns keys array
bst.values() // Returns unique values array