codingbat
codingbat copied to clipboard
Solutions to CodingBat problems
just a small change in the method
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,...
solution using Python build ins which works on the site
I know this is more complicated than the OP's way of doing it but by doing this I learned how you have to go from "macro to micro" when it...
Here's another way to do this.
My submission looks better