Skip to content

DawnWright/shipment_bundler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shipment_bundler

Given a file with a single week’s worth of shipments (Monday through Friday), find the fewest number of bundles.

To Run

node shipmentBundler.js tests/example

The following test files are included, and can be validated as follows:

./run_test.sh "node shipmentBundler.js" tests/example-no-city-connections 6
./run_test.sh "node shipmentBundler.js" tests/example-no-day-connections 6
./run_test.sh "node shipmentBundler.js" tests/example-return-early-optimal 8
./run_test.sh "node shipmentBundler.js" tests/example-single 1
./run_test.sh "node shipmentBundler.js" tests/example-slow-exponential 18
./run_test.sh "node shipmentBundler.js" tests/example-week-ends 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published