@@ -0,0 +1,449 @@
+// http://codingbat.com/prob/p126332%0A%0Apublic Map%3CString, String%3E pairs(String%5B%5D strings) %7B%0A  Map%3CString, String%3E firstAndLastCharacter = new HashMap%3CString, String%3E();%0A  for (String string : strings) %7B%0A    String firstCharacter = Character.toString(string.charAt(0));%0A    String lastCharacter = Character.toString(string.charAt(string.length()-1));%0A    firstAndLastCharacter.put(firstCharacter, lastCharacter);%0A  %7D%0A  return firstAndLastCharacter;%0A%7D%0A

Create pairs.java