Skip to content

Instantly share code, notes, and snippets.

View soswow's full-sized avatar

Aleksandr Motsjonov soswow

View GitHub Profile
#global portviz:false, _:false
#
# * 0-1 knapsack solution, recursive, memoized, approximate.
# *
# * credits:
# *
# * the Go implementation here:
# * http://rosettacode.org/mw/index.php?title=Knapsack_problem/0-1
# *