comefrom: <gouthampradhan>string_RotateString_1.java
code: public boolean rotateString(String A, String B) {
      if (A.length() == 1 || A.isEmpty() || B.length() == 1 || B.isEmpty()) {
        return A.equals(B);
      } else if (A.length() != B.length()) {
        return false;
      }
      for (int i = 0, l = A.length(); i < l; i++) {
        char s = A.charAt(0);
        A = A.substring(1) + s;
        if (A.equals(B)) return true;
      }
      return false;
    }
masked: public boolean var_0 ( String var_1 , String var_2 ) {
    if ( var_1 . length ( ) == 1 || var_1 . isEmpty ( ) || var_2 . length ( ) == 1 || var_2 . isEmpty ( ) ) {
      return var_1 . equals ( var_2 ) ;
    }
    else if ( var_1 . length ( ) != var_2 . length ( ) ) {
      return false ;
    }
    for ( int var_3 = 0 , var_4 = var_1 . length ( ) ;
    var_3 < var_4 ;
    var_3 ++ ) {
      char var_5 = var_1 . charAt ( 0 ) ;
      var_1 = var_1 . substring ( 1 ) + var_5 ;
      if ( var_1 . equals ( var_2 ) ) return true ;
    }
    return false ;
  }
  