摘要: 1 class Solution { 2 public: 3 char findTheDifference(string s, string t) { 4 mapMap_Temp; 5 for(int i=0;i::iterator iter; 10 for(iter=Map_Temp.begin();iter!=Map_Temp... 阅读全文
posted @ 2016-09-29 18:36 HYDhyd 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution { 2 public: 3 int removeDuplicates(vector& nums) { 4 sort(nums.begin(),nums.end()); 5 int i=0,j=0; 6 if(nums.size()==0)return 0; 7 nums[j++... 阅读全文
posted @ 2016-09-29 10:19 HYDhyd 阅读(373) 评论(0) 推荐(0) 编辑