Project was made as intruduction to the knapsack problem in reaserch group consisting of 4 people. It contains a greedy algorithm solving knapsack problem. Problem with floating points was solved by Decimal library.
- Install dependencies
npm install
- Compile and run the project
npm run node
or
- Run code and watch for changes
npm run start
Visual representation of tree is being saved in temp folder in root directory.