A JavaScript implementation of a solution of the Minimum Average Waiting Time Problem.
Algoritm:
- Read user input
- Process input into the array of objects
- Compute average waiting time
For more details one might want to read code comments.
One will need to install Node.js and npm.
Run npm install
before launching the project.
From the project root directory, run command npm run main
.
From the project root directory, run command npm run test
.