Problem 122 · Medium
Maximize profit with unlimited transactions by capturing every upward price movement.
Open the interactive visualisation