Topic: Greedy Algorithm Problem / Level: beginner

Problem: Maximize the profit from selling items given the price of each item and a limited number of items.

Run the code to see the output here...