comefrom: <awangdev>Shortest Palindrome_1.java
code: private boolean validateSubstring(String s, int i, int j) {
  
          String end = s.substring(j).toString();
          String front = new StringBuffer(s.substring(0, i + 1)).reverse().toString();
          if (front.length() <= end.length() && end.indexOf(front) == 0) {
              return true;
          }
          return false;
      }
masked: private boolean var_0 ( String var_1 , int var_2 , int var_3 ) {
    String var_4 = var_1 . substring ( var_3 ) . toString ( ) ;
    String var_5 = new StringBuffer ( var_1 . substring ( 0 , var_2 + 1 ) ) . reverse ( ) . toString ( ) ;
    if ( var_5 . length ( ) <= var_4 . length ( ) && var_4 . indexOf ( var_5 ) == 0 ) {
      return true ;
    }
    return false ;
  }
  