摘要:
1 class Solution { 2 public: 3 int majorityElement(vector &num) { 4 int candidate = num[0]; 5 int count = 1; 6 int len = ... 阅读全文
摘要:
1 class Solution { 2 private: 3 char tbl[256]; 4 public: 5 vector findRepeatedDnaSequences(string s) { 6 vector res; 7 8 ... 阅读全文