public static void main(String[] args) {
        MaximumSumThreeNonOverlappingSubarray mss = new MaximumSumThreeNonOverlappingSubarray();
        int[] input = {3, 2, 2, 1, 1, 0, 5};
        int[] input1 = {1, 2, 1, 2, 6, 7, 5, 1};
        int[] output = mss.maxSumOfThreeSubarrays(input1, 2);
        for (int i : output) {
            System.out.println(i);
        }
    }
https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays/description/
src/com/interview/array/MaximumSumThreeNonOverlappingSubarray.java