<awangdev>Palindrome Pairs_1.java
private boolean isPalindrome(String word) {

        if (word.length() == 1) {
            return true;
        }
        int start = 0;
        int end = word.length() - 1;
        while (start < end) {
            if (word.charAt(start) != word.charAt(end)) {
                return false;
            }
            start++;
            end--;
        }
        
        return true;
    }
private boolean var_0 ( String var_2 ) {
  if ( var_2 . length ( ) == 1 ) {
    return true ;
  }
  int var_6 = 0 ;
  int var_7 = var_2 . length ( ) - 1 ;
  while ( var_6 < var_7 ) {
    if ( var_2 . charAt ( var_6 ) != var_2 . charAt ( var_7 ) ) {
      return false ;
    }
    var_6 ++ ;
    var_7 -- ;
  }
  return true ;
}
