Skip to content
RED SAGSkills
hard20 pts · first answer countsdynamic-programmingstock-problems

Stock DP with at most k trades

The "at most k transactions" stock DP is O(n × k). When k is at least n / 2, what should you do?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions