Skip to content

Instantly share code, notes, and snippets.

@pedrohbtp
Created May 1, 2021 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pedrohbtp/44c290f8762e12981949b87cf2f1adc5 to your computer and use it in GitHub Desktop.
Save pedrohbtp/44c290f8762e12981949b87cf2f1adc5 to your computer and use it in GitHub Desktop.
implementation of knapsack problem exploring the state space in a breadth first search manner and using memoization to reduce the exploration space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment