Optiver
Interview Question
Software Engineer Interview
Optiver
Given an array of stock prices for n days, return the maximum profit achievable using at most k transactions. Complete the function int stock(int* prices, int k, int n).
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

