1. Routine Notes

    两个寄存器

    2018/06/19 Go

  2. LC Google High Frequency

    Google [LC43. 大数乘法] string multiply(string num1, string num2) { string res; int n1 = num1.size(), n2 = num2.size(); int k = n1 + n2 - 2, carry = 0; vector<int> v(n1 + n2, 0); for (int i = 0; i < n1; ++i) { for (int j = 0; j < n2; ++j) { v[k - i - j] += (num1[i] - '0') * (num2[j] - '0'); } } for (int i = 0; i < n1 + n2; ++i) { v[i] += carry; carry = v[i] / 10; v[i] %= 10; } int i = n1 + n2 - 1; while (v[i] == 0) --i; if (i < 0) return "0"; while (i >= 0) res.push_back(v[i--] + '0'); return res; }

    2018/06/01 Leetcode

  3. LC207 Course Schedule

    [Course Schedule] (https://leetcode.com/problems/course-schedule/description/) There are a total of n courses you have to take, labeled from 0 to n - 1 e.g. 2, [[1,0]] There are a total of 2 courses to take. To take course 1 you should have finished course 0. So it is possible.

    2018/04/27 Leetcode

  4. LC加星集锦

    LC3: [Longest substring without repeated chars] (https://leetcode.com/problems/longest-substring-without-repeating-characters/description/)

    2018/04/16 Leetcode

  5. LC815. Bus Routes

    原题链接:[LC815] (https://leetcode.com/problems/bus-routes/description/)

    2018/04/15 Leetcode

  6. Azkaban Notes

    Installation

    2018/04/08 Big_data

  7. Android 源码分析 —— 从 Toast 出发

    本系列文章在 https://github.com/mzlogin/rtfsc-android 持续更新中,欢迎有兴趣的童鞋们关注。

    2017/11/12 Android