CodingReported in a candidate post, Feb 2026
Variation of Maximum Profit Triplet
Filed under Salesforce
The question
The candidate gave a brute force, optimized it to O(n^2) and coded it, then was asked to optimize further.
No write-up yet. Related questions below have one.
Related Salesforce questions
Collected from public candidate posts and coding forums. Updated Nov 2026.