@@ -0,0 +1,420 @@
+// http://codingbat.com/prob/p168493%0A%0Apublic Map%3CString, String%3E firstChar(String%5B%5D strings) %7B%0A  Map%3CString, String%3E map = new HashMap%3CString, String%3E();%0A  for (String string : strings) %7B%0A    String firstChar = Character.toString(string.charAt(0));%0A    if (!map.containsKey(firstChar)) %7B%0A      map.put(firstChar, string);%0A    %7D%0A    else %7B%0A      map.put(firstChar, map.get(firstChar) + string);%0A    %7D%0A  %7D%0A  return map;%0A%7D%0A

Create firstChar.java