Update maxSumOfNoncontiguousSubsequence.java