Topic: Stack Problem / Level: advanced

Problem: Create a function that uses stacks to solve the problem of finding the maximum profit from a series of stock trades with unlimited transactions.

Run the code to see the output here...