Follow up the "remove duplicates",what if duplicates are allowed at most twice?思路一:使用变量numlength记录数组中相同数字出现不超过两次所得到的数组长度;code:class Solution {public: ... Read More
posted @ 2014-09-30 21:29 chengcy Views(217) Comments(0) Diggs(0)