Topic: Greedy Algorithm Problem / Level: intermediate
Problem: You are given an array of stock prices where each element represents the price of the stock on that day. Find the maximum profit that can be made by performing multiple buy-and-sell operations.