public static boolean anagram(String s, String t) {
		s=s.replaceAll(" ","");
		t=t.replaceAll(" ", "");
		if (s.length()!=t.length()) return false;
		int[]c=new int[256];
		for (int i=0;i<s.length();++i) {
			char c1=s.charAt(i),c2=t.charAt(i);
			++c[Character.toLowerCase(c1)];
			--c[Character.toLowerCase(c2)];
			}
		for (int i=0;i<256;++i) if(c[i]!=0) return false;
		return true;
	}