day-3-npm-pakage
v1.0.1
Published
Hello Geeks ๐ This is a simple pakage to find postion of a number in an array using binary search tree ๐ฒ If the target number is not present in array then the program whould return -1
Downloads
2
Readme
Hello Geeks ๐ This is a simple pakage to find postion of a number in an array using binary search tree ๐ฒ If the target number is not present in array then the program whould return -1
How to use the pakage
- Install pakage from npm website
- Import the pakage in your project- const bst = require('day-3-npm-pakage');
- Use it for eg- const postion = bst([1,2,3,4],4) // result will be 3