Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

public class Main {
public static void main(String[] args) {
System.out.println(isPalindrome("A man, a plan, a canal - Panama!"));
}
/**
* Method to check if given string is a palindrome
* @param sentence - sentence
* @return boolean - if sentence is a palindrome
@Lauris01
Lauris01 / MapGenTest_.gitignore
Created February 14, 2016 22:45
Genetic Algorithms. Search area task
## Java
*.class
*.war
*.ear
hs_err_pid*
## GWT
war/
html/war/gwt_bree/