CodingReported in a candidate post, Sep 2026
Good subarray with maximum sum, returning indices
Filed under Google
The question
A variation of the maximum good subarray sum problem in which you return any pair of indices {i, j} instead of the maximum sum.
No write-up yet. Related questions below have one.
Related Google questions
Collected from public candidate posts and coding forums. Updated Nov 2026.