leetcode

  1. 处理substring search problem的模版1
  2. 处理substring search problem的模版1
  3. [位运算](https://leetcode.com/problems/sum-of-two-integers/discuss/84278/A-summary:-how-to-use-bit-manipulation-to-solve-problems-easily-and-efficiently
  4. DFS问题,都是迭代求解。我目前侧重于什么时候需要记录起始位置,什么时候需要使用visit数组标记是否访问过。

    1
    2
    3
    4
    这三个的代码里我都写了自己的心得,体会一下。
    1.https://leetcode.com/problems/combinations/description/
    2.https://leetcode.com/problems/permutations/description/
    3.https://leetcode.com/problems/partition-to-k-equal-sum-subsets/description/
  5. 二分查找模版,直接看最后一个

  1. 单调栈的题,可以先确定while循环,再去想是单调递增栈还是单调递减栈。

  2. 计数排序:

    https://mp.weixin.qq.com/s/vn3KiV-ez79FmbZ36SX9lg
    https://zh.wikipedia.org/wiki/%E8%AE%A1%E6%95%B0%E6%8E%92%E5%BA%8F
    https://www.cnblogs.com/freedom314/p/5847092.html
    https://www.acwing.com/solution/LeetCode/content/371/

本文标题:leetcode

文章作者:Alfred

发布时间:2018年11月19日 - 22:11

最后更新:2019年05月04日 - 22:05

原始链接:http://blog.hbsun.top/2018/11/19/leetcode/

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。