c++
Find maximum profit that can be earned by conditionally selling stocks
Given a list containing future price predictions of two different stocks for the next n-days, find the maximum profit that can be earned by selling the stocks with a constraint that the second stock can Read more…