leetcode 383. Ransom Note
摘要:
bool canConstruct(string ransomNote, string magazine) { unordered_map m; for (auto i : magazine) m[i]++; for (auto i : ransomNote) { if (m... 阅读全文
posted @ 2018-02-09 18:36 willaty 阅读(72) 评论(0) 推荐(0) 编辑