Java 字符串分割及排序
public static String getSmallestAndLargest ( String s , int k ) { String newStr = new String ( s ); java . util . List < String > listStr = new java . util . ArrayList < String >(); for ( int i = 0 ; i < newStr . length ()- 1 ; i ++ ) { if (( newStr . length ()- i ) < k ) { break ; } String str = ...