codingbat icon indicating copy to clipboard operation
codingbat copied to clipboard

Fix bug in maxMirror

Open ljy5490 opened this issue 4 years ago • 0 comments

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

ljy5490 avatar Feb 10 '21 10:02 ljy5490