(String s)
| 8 | |
| 9 | public class QuestionB { |
| 10 | public static String sortChars(String s) { |
| 11 | char[] content = s.toCharArray(); |
| 12 | Arrays.sort(content); |
| 13 | return new String(content); |
| 14 | } |
| 15 | |
| 16 | public static void sort(String[] array) { |
| 17 | Hashtable<String, LinkedList<String>> hash = new Hashtable<String, LinkedList<String>>(); |