@@ -0,0 +1,1109 @@
+package Palantir_Interview_Questions;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0Aimport java.util.HashMap;%0A%0Apublic class anagram %7B%0A%09%0A%0A/**%0A* Main method to see if two strings are anagrams%0A*%0A* @param args - No arguments needed%0A* @throws Exception%0A*/%0A%09%0A%09public static void main(String%5B%5D args) throws Exception %0A%09%7B%0A%09%09BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A%09%09String a = br.readLine();%0A%09%09String b = br.readLine();%0A%09%09%0A%09%09if((a.length() != b.length() %7C%7C a.length() == 0 %7C%7C b.length() == 0))%0A%09%09%7B%0A%09%09%09System.out.println(%22Not Anagrams%22);%09%09%0A%09%09%7D%0A%09%09else%0A%09%09%7B%0A%09%09%09run(a, b);%0A%09%09%7D%0A%09%7D%0A%09%0A%09/**%0A%09* Runs the business logical to determine if two strings are%0A%09* anagrams. This should be run after determining that the%0A%09* both strings aren't empty and their length are equivalent%0A%09*%0A%09* @param a - First string%0A%09* @param b - Second string%0A%09*/%0A%09%0A%09public static void run(String a, String b)%0A%09%7B%0A%09%09HashMap%3CCharacter, Integer%3E hashmapA = buildHashmap(a);%0A%09%7D%0A%0A%09private static HashMap%3CCharacter, Integer%3E buildHashmap(String a) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09return null;%0A%09%7D%0A%0A%7D%0A

update 08-12-14