摘要: Q: 递归: class Solution { public: string decodeString(string s) { if (s.empty()){ return ""; } string res="",str; int i=0,siz=s.size(); int repeat=0,tem 阅读全文
posted @ 2019-11-28 18:09 NeoZy 阅读(145) 评论(0) 推荐(0)
摘要: Q: class Solution { public: int leastInterval(vector<char>& tasks, int n) { map<char,int>dc; for(char c:tasks){ dc[c]+=1; } vector<int>dic; for(auto p 阅读全文
posted @ 2019-11-28 15:35 NeoZy 阅读(163) 评论(0) 推荐(0)