← DP World questions

Stock Buy Sell and Min Stack

Filed under DP World

The question

Solve the stock buy-sell problem and design a stack that supports getMin in O(1) time and O(1) extra space efficiently.

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

Related DP World questions

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