comefrom: <gouthampradhan>string_LongestCommonPrefix_1.java
code: public String longestCommonPrefix(String[] strs) {
      if (strs.length == 0) return "";
      String result = strs[0];
      for (int i = 1; i < strs.length; i++) {
        String s = strs[i];
        for (int j = 0; j < result.length(); j++) {
          if (j >= s.length() || result.charAt(j) != s.charAt(j)) {
            result = result.substring(0, j);
            break;
          }
        }
      }
      return result;
    }
masked: public String var_0 ( String [ ] var_1 ) {
    if ( var_1 . length == 0 ) return "" ;
    String var_2 = var_1 [ 0 ] ;
    for ( int var_3 = 1 ;
    var_3 < var_1 . length ;
    var_3 ++ ) {
      String var_4 = var_1 [ var_3 ] ;
      for ( int var_5 = 0 ;
      var_5 < var_2 . length ( ) ;
      var_5 ++ ) {
        if ( var_5 >= var_4 . length ( ) || var_2 . charAt ( var_5 ) != var_4 . charAt ( var_5 ) ) {
          var_2 = var_2 . substring ( 0 , var_5 ) ;
          break ;
        }
      }
    }
    return var_2 ;
  }
  