โ† Swiggy questions

Modified Stock Buy Sell to Maximize Profit with skipped days

Filed under Swiggy

The question

Find the maximum profit for stock buy and sell with the constraint that you cannot buy or sell continuously and can skip any day to sell or purchase.

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

Related Swiggy questions

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