- DP Max Subarray
- For LIS and MCS, return the range indices.