Practice the exact questions companies are asking right now.
Given an array prices where prices[i] is the stock price on day i, solve two related tasks under a forced-trade constraint: (a) Exactly one transactio...