Skip to content

Instantly share code, notes, and snippets.

View iboB's full-sized avatar
:shipit:
shipit

Borislav Stanimirov iboB

:shipit:
shipit
View GitHub Profile
public class PalindromeChecker {
public static void main(String[] args) {
String[] sWordsToCheck = new String[] {
"gatemannametag", //p
"abcdefghijklmnopqrtuvwxyz", // not p
"aaaaa1aaaaa", //p
"aaaaa12aaaaa", // not p
};
for(int i=0; i<sWordsToCheck.length; ++i) {