Up next


Dynamic Programming – 0/1 Knapsack Problem Tutorial

1 Views
AI Lover
3
Published on 10/01/23 / In How-to & Learning

The Knapsack Problem is a classic optimization problem in computer science. It's often used to help teach dynamic programming and greedy algorithms. This is an important problem to understand, especially if you plan on interviewing soon for a programming job. In this course, Gavin Lon will explain the problem and show how to craft an efficient solution using C#.

💻 Code: https://github.com/GavinLonDig....ital/ZeroOneKnapsack

✏️ Course created by @GavinLon

⭐️ Contents ⭐️
(00:00) Introduction
(02:35) Overview of the 0 / 1 Knapsack problem
(09:08) Code the algorithm to solve the problem using C#
(17:49) Explain the algorithm that uses Dynamic Programming and the Memoization strategy
(38:17) Write code using C# to output the items to include in the Knapsack



🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama

--

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

Show more
0 Comments sort Sort By

Up next