Coin Change
Problem
For a given total and amount paid calculate the change in notes & coins.
Coins
In the UK we have the following Notes & 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