You are viewing a single comment's thread. Return to all comments →
What if input is [-5, -4, 2]. Should the output be 40? In real world wouldn't the profit be negative?
Seems like cookies are disabled on this browser, please enable them to open this website
Maximizing the Profit
You are viewing a single comment's thread. Return to all comments →
What if input is [-5, -4, 2]. Should the output be 40? In real world wouldn't the profit be negative?