Common Utils
Everyday functions you always need.
Install
npm i @davidmarom/dm-common-utils
Use
import * as cu from '@davidmarom/dm-common-utils';
console.log(cu.getCUVer());
- getCUVer() - get current version
- isLetter(char)
- isNum(char)
- saveJSONtoLocalStorage(key, JSON)
- getJSONfromLocalStorage(key)
- findIntersection(arr1, arr2)
- createBinaryTree()
Binary Tree
const myTree = createBinaryTree();
myTree.insert('value');
myTree.find('value');
myTree.BFD();