optimal-package-selector
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

The Challenge:

You want to send your friend a package with different things. Each thing you put inside the package has such parameters as index number, weight and cost. The package has a weight limit. Your goal is to determine which things to put into the package so that the total weight is less than or equal to the package limit and the total cost is as large as possible. You would prefer to send a package which weighs less in case there is more than one package with the same price.

Commands

Install dependencies

npm install

Run unit tests

npm test

Build

npm run build

Readme

Keywords

none

Package Sidebar

Install

npm i optimal-package-selector

Weekly Downloads

1

Version

0.0.7

License

ISC

Unpacked Size

12.5 kB

Total Files

10

Last publish

Collaborators

  • farhadjalali