Skip to content
RED SAG Skills
hard20 pts · first answer countsdynamic-programmingstock-problemsstate-machine

Stock trading with a fee per trade

You may trade many times, paying a fee of 2 per completed trade. For prices [1, 3, 2, 8, 4, 9], what is the largest profit?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions