摘要:
1. class Solution { public: vector<string> findRepeatedDnaSequences(string s) { vector<string> re; unordered_map<string,int> m; if(s.empty()||s.size() 阅读全文
posted @ 2020-03-25 17:06
qiujiejie
阅读(110)
评论(0)
推荐(0)
摘要:
参考:https://www.cnblogs.com/grandyang/p/4238577.html unordered_map<int,int> m: 余数到该余数对应的商在string中的映射;如果该余数已经出现过,说明开始循环了,在该余数对应的商前加上"(",在string的最后加上")", 阅读全文
posted @ 2020-03-25 16:13
qiujiejie
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号