Stock profit, k-th smallest in sorted arrays, and rotated array search
Filed under Meta
The question
Solve three whiteboard problems: maximize profit for buying and selling stock with multiple transactions, find the k-th smallest value given m sorted arrays, and perform binary search in a sorted rotated array.
No write-up yet. Related questions below have one.
Related Meta questions
Collected from public candidate posts and coding forums. Updated Nov 2026.