Skip to content

Instantly share code, notes, and snippets.

@naush
Created July 14, 2010 15:22
Show Gist options
  • Save naush/475546 to your computer and use it in GitHub Desktop.
Save naush/475546 to your computer and use it in GitHub Desktop.
var postage = 32;
var stamps = [90, 30, 24, 15, 12, 10, 5, 3, 2, 1];
minimum_number_of_stamps(postage, stamps); // 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment