-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify coin selection implementation
- Less intermediate types - Rely on built-in function on list instead of custom function for performances (O(n*log(n)) instead of (O(n)) - Correct reporting of errors
- Loading branch information
1 parent
afa6f8d
commit 892f3ea
Showing
2 changed files
with
73 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters