โ† Razorpay questions
CodingReported in a candidate post, May 2024

Maximum sum subarray (clarified from subset)

Filed under Razorpay

The question

The hiring manager posed a maximum-sum problem on an array; the candidate clarified whether it meant subarray or subset, gave a brute-force solution with complexity, then presented Kadane's algorithm and fixed it for negative numbers after feedback.

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

Related Razorpay questions

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