Agoda Interview Question

I had an algorithm interview with Agoda, which focused on sorting subarrays to find the given maximum sum.