摘要: 1 class Solution 2 { 3 public: 4 vector fairCandySwap(vector& A, vector& B) 5 { 6 vector result; 7 int total_A = 0,total_B = 0; 8 sort(... 阅读全文
posted @ 2018-08-19 11:05 Asurudo 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 vector findAndReplacePattern(vector& words, string pattern) 5 { 6 vector result; 7 map store; 8 map st... 阅读全文
posted @ 2018-08-19 11:04 Asurudo 阅读(418) 评论(0) 推荐(0) 编辑