Maximize stock profit with at most k transactions
Filed under Optum (UnitedHealth Group)
The question
Given stock prices over days, find the maximum profit possible by buying and selling shares at most k times.
No write-up yet. Related questions below have one.
Related Optum (UnitedHealth Group) questions
Collected from public candidate posts and coding forums. Updated Nov 2026.