Maximum Sum Arithmetic Progression Subarray

Company: Flipkart

Difficulty: medium