240 发简信
IP属地:江苏
  • [LeetCode] Problems of 3Sum

    15. 3Sum In this problem, we use three pointers to get no repeating tupl...

  • [LeetCode] 11. Container With Most Water

    通过观察面积公式,如果我们想让面积最大,就要让(right_index - left_index)由最大值向0收敛,并且尽可能地提高Min(he...

  • [LeetCode] House Rubber

    198. House Robber You are a professional robber planning to rob houses a...

  • [LeetCode] 64. Minimum Path Sum

    动态规划的解法 空间压缩 由于第i行的f[i][j]只由第i行和第i - 1行的数据所决定,所以我们可以进行空间复用,把空间复杂度从O(m * ...

  • Resize,w 360,h 240
    [LeetCode] 5. Longest Palindromic Substring

    动态规划的解法 不得不吐槽一句,这题直接用DP来做有点麻烦!首先两个初始条件你都得想到,除此之外,因为是bottom-up的动态规划,还得考虑计...

  • [LeetCode] Maximum/Minimum Depth of Binary Tree

    104. Maximum Depth of Binary Tree 这题很简单,只要理解树的深度 = max{ 左子树深度, 右子树深度} + ...

  • [LeetCode] Longest XXX subsequence

    674. Longest Continuous Increasing Subsequence 设f[i]为:以a[i]结尾的最长连续上升子序列的...

  • [LeetCode] Paint House

    [LeetCode] Paint House 256. Paint House I 根据题意我们知道,粉刷第i栋房子的颜色,依赖于第i - 1栋...

个人介绍
我不要在失败孤独中死去,
我不要一直活在地下里。


【以下是友情链接,排名不分先后,都是超棒的小伙伴~】
蚊子:https://zmosquito.github.io/
咸糖:http://xiantang.info/
小A:http://wangxuanni.top/
树佬:https://caitiezhu.github.io/
小铭:https://blog.csdn.net/hnust_lizeming/
表哥:https://blog.csdn.net/LuciferMS/
王子:https://blog.csdn.net/qq_36520235
饼哥:https://www.cnblogs.com/draymonder
鸡哥:https://jianshu.com/u/ab029ac3022b