knapsack problem using greedy method

Introduction Hey there, I hope you're doing good. In the previous blog, we discussed the meaning & types of the knapsack problem. Moreover, In this blog, you'll get to know about solving knapsack problem using greedy method. Let's get started.... Knapsack Problem: Firstly, we have given a knapsack of [...]