<awangdev>1170. Compare Strings by Frequency of the Smallest Character_3.java
private int count(String w) {

        int[] count = new int[26];
        for (char c : w.toCharArray()) count[c - 'a']++;
        for (int num : count) if (num != 0) return num;
        return 0;
    }
private int sample_funcname ( String var_1 ) {
  int [ ] var_3 = new int [ 26 ] ;
  for ( char var_5 : var_1 . toCharArray ( ) ) var_3 [ var_5 - 'a' ] ++ ;
  for ( int var_7 : var_3 ) if ( var_7 != 0 ) return var_7 ;
  return 0 ;
}
