Problem bank
Problem 74 of 333HardCodingP074
Max profit with k transactions
Given a price series, find the max profit using at most buy-sell transactions (cannot hold share at once). .
Check your answer and see the solution with a free account
Every problem on Quant Engine is free, with a hint and a full worked solution. Making an account takes 30 seconds and no card. Then you can write and check your answers, see the solutions, and track what you have solved.