Questions from this loop
Coding Interview Problem 1: Stock Trading Profit (Two Variants) Unlimited transactions: