public static void main(String args[]){
        int input[] = {1,5,3,8,0,2,14,9};
        LongestEvenLengthSubstringOfEqualHalf lel = new LongestEvenLengthSubstringOfEqualHalf();
        System.out.println(lel.findMaxLength(input));
        
    }
http://www.geeksforgeeks.org/longest-even-length-substring-sum-first-second-half/
Test cases
Even length string
odd length string
0 length string
src/com/interview/dynamic/LongestEvenLengthSubstringOfEqualHalf.java