Solutions and test cases for LeetCode in Java
Primary LanguageJava
String.charAt() is slower, convert to the char array instead.