coin-change

1.0.0 • Public • Published

Coin Change

Build Status Coverage Status Code Climate Dependencies devDependency Status NPM version

Problem

For a given total and amount paid calculate the change in notes & coins.

Coins

In the UK we have the following Notes & Coins:

GBP Notes GBP Coins

Original:http://en.wikipedia.org/wiki/Coin_problem

Solution

One Method

  • De-coupled from any specific node web framework (e.g express!)
  • Asynchronous method (non-blocking)

Server

npm start

Vist: http://localhost:3000/?total=287&paid=602

Many Answers

http://stackoverflow.com/tags/coin-change

Package Sidebar

Install

npm i coin-change

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • nelsonic