public ArrayList<String> anagrams(String[] strs) {
		ArrayList<String> rst = new ArrayList<String>();
		Map<String, List<String>> classSet = new HashMap<String, List<String>>();

		for (int i = 0; i < strs.length; i++) {
			String standard = getStandard(strs[i]);
			List<String>  ele = classSet.get(standard);
			if (ele == null){
				ele = new LinkedList<String>();
				ele.add(strs[i]);
				classSet.put(standard, ele);
			}else ele.add(strs[i]);				
		}

		for (List<String> list : classSet.values()) {
			if (list.size() > 1) {
				for (String str : list)
					rst.add(str);
			}
		}
		return rst;
	}