379. Design Phone Directory
摘要:379. Design Phone Directory Design a Phone Directory which supports the following operations: Example:
阅读全文
6-5日
摘要:Max Points on a Line开始无脑匹配结果超时:class Solution {public: int maxPoints(vector &points) { int ans = 0; for (int i = 0; i ans) ans = num...
阅读全文
Reverse Words in a String
摘要:Reverse Words in a String反转一个字符串垃圾方法:#include #include class Solution {public: void reverseWords(string &s) { istringstream is(s); st...
阅读全文