private boolean[][] getIsPalindrome(String s) {
		boolean[][] isPalindrome = new boolean[s.length()][s.length()];

		for (int i = 0; i < s.length(); i++) {
			isPalindrome[i][i] = true;
		}
		for (int i = 0; i < s.length() - 1; i++) {
			isPalindrome[i][i + 1] = (s.charAt(i) == s.charAt(i + 1));
		}

		for (int length = 2; length < s.length(); length++) {
			for (int start = 0; start + length < s.length(); start++) {
				isPalindrome[start][start + length] = isPalindrome[start + 1][start
						+ length - 1]
						&& s.charAt(start) == s.charAt(start + length);
			}
		}

		return isPalindrome;
	}