algo-find-pair
v1.0.3
Published
Find the pairs in an array whose sum of a number N
Downloads
8
Readme
Find Pair
Find the pairs in an array whose sum of a number N
How to run tests
npm run test
How to run on command line with custom inputs
and run with custom inputs -a -> numbers separated by comma, example: 1,2,3,4 -n -> integer number, example: 4
running with npx
npx algo-find-pair -a 1,9,5,0,20,-4,12,16,7 -n 12
running from source code
Before any execution we need install dependencies
npm install
node . -a 1,9,5,0,20,-4,12,16,7 -n 12