Skip to content

Fix bug in maxMirror#10

Open
rj-lijianyu-ruijie wants to merge 1 commit into
mirandaio:masterfrom
rj-lijianyu-ruijie:fix-array-3-maxMirror-bug
Open

Fix bug in maxMirror#10
rj-lijianyu-ruijie wants to merge 1 commit into
mirandaio:masterfrom
rj-lijianyu-ruijie:fix-array-3-maxMirror-bug

Conversation

@rj-lijianyu-ruijie

Copy link
Copy Markdown

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