hash-table-ds
v1.0.0
Published
Hash Table implementation in JavaScript
Downloads
5
Maintainers
Readme
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