找出數組中不一樣元素並統計相同元素的個數

public void getDifference(int[] arr) { Dictionary<int, int> dic= new Dictionary<int, int>(); foreach (int val in arr) { //若字典中不存在該元素,則將該元素加
相關文章
相關標籤/搜索