โ† Amazon questions

Youngest common manager, Lexicographically previous permutation & Max profit k-transactions

Filed under Amazon

Given prices of a stock for n days and an integer k, find the maximum profit you can make by completing at most k transactions.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.