codingbat
codingbat copied to clipboard
Fix bug in maxMirror
Solution in maxMirror.java failed to pass the following test case: wrong: maxMirror([1, 2, 1, 3, 2, 2, 3, 1, 2, 1, 2, 1]) -> 8 correct: maxMirror([1, 2, 1, 3, 2, 2, 3, 1, 2, 1, 2, 1]) -> 10