โ† Cohesity questions
CodingReported in a candidate post, Jul 2025

Maximum Profit by Buying and Selling Share at Most Twice

Filed under Cohesity

The question

Find the maximum possible total profit using at most two transactions (buy and sell a share twice).

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

Related Cohesity questions

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