摘要:
1 class Solution 2 { 3 private: 4 int visited[309]; 5 int nowKilled; 6 int numOfNode; 7 int toBeDeleted; 8 public: 9 void DFS(int killer,vecto... 阅读全文
摘要:
1 class Solution 2 { 3 private: 4 vector result; 5 public: 6 vector threeEqualParts(vector& A) 7 { 8 int oneSum = 0; 9 for(auto d:A) 1... 阅读全文
摘要:
1 class Solution 2 { 3 public://saeed ssaaedd 4 bool isLongPressedName(string name, string typed) 5 { 6 int typedEnd = 0; 7 for(int i = 0;i = typed.... 阅读全文
摘要:
1 class Solution 2 { 3 public: 4 int minFlipsMonoIncr(string S) 5 { 6 vector left2CountOne (S.size(),0); 7 vector right2CountZero (S.size(),0); 8 ... 阅读全文