Skip to content

Fix bug in maxMirror#10

Open
ljy5490 wants to merge 1 commit intomirandaio:masterfrom
ljy5490:fix-array-3-maxMirror-bug
Open

Fix bug in maxMirror#10
ljy5490 wants to merge 1 commit intomirandaio:masterfrom
ljy5490:fix-array-3-maxMirror-bug

Conversation

@ljy5490
Copy link

@ljy5490 ljy5490 commented Feb 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant