题解 | #单词倒排#
图片整理
http://www.nowcoder.com/practice/2de4127fda5e46858aa85d254af43941
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); char[] chs=sc.nextLine().toCharArray(); Arrays.sort(chs); System.out.println(new String(chs)); } }