โ† Societe Generale questions

Maximum Profit with at most K Transactions

Filed under Societe Generale

The question

Write pseudocode to determine the maximum profit achievable from buying and selling stock given an array of prices and at most k transactions.

No write-up yet. Related questions below have one.

Related Societe Generale questions

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