/** * 找出两个数组相同的元素,并且对应的个数一样 * @param args */ public static void getSameNumberCount(String[] a, String[] b) { Map map = new HashMap(); for (int i = 0; ... ...
分类:
编程语言 时间:
2017-11-11 14:14:57
阅读次数:
207
题目:找出两个数组(有重)相同的元素,两种方法publicclass出两个数组相同的元素{publicstaticvoidmain(String[]args){//TODOAuto-generatedmethodstubString[]test1={"damon","happy","ly","good","losers"};String[]test2={"love","winner","damon","mai"};//***************..
分类:
编程语言 时间:
2014-10-15 15:45:41
阅读次数:
150