Topic: Greedy Algorithm Problem / Level: beginner

Problem: You are given an array of items with values and weights, maximize the value you can fit into a knapsack using the fractional knapsack method.

Run the code to see the output here...