240 发简信
IP属地:浙江
  • python a in list与 a in dict.keys()

    想在一个列表中确认是否存在某个元素:通常使用 a in list,但是这是个O(n)的操作,非常慢 而 a in dict.keys() 是O...

  • Resize,w 360,h 240
    #238. Product of Array Except Self

    https://leetcode.com/problems/product-of-array-except-self/#/description...

  • #495. Teemo Attacking

    https://leetcode.com/problems/teemo-attacking/#/description 题目过长 这里就不放啦 ...

  • Resize,w 360,h 240
    #283. Move Zeroes

    https://leetcode.com/problems/move-zeroes/#/description Python 遇到非零元素则替换...

  • Resize,w 360,h 240
    #442. Find All Duplicates in an Array

    https://leetcode.com/problems/find-all-duplicates-in-an-array/#/descript...

  • Resize,w 360,h 240
    #566. Reshape the Matrix

    https://leetcode.com/problems/reshape-the-matrix/#/hints 思路 关键就是原矩阵和resh...

  • Resize,w 360,h 240
    #561. Array Partition I

    https://leetcode.com/problems/array-partition-i/#/description 翻译 将长度为2n的...

  • Resize,w 360,h 240
    303. Range Sum Query - Immutable

    https://leetcode.com/problems/range-sum-query-immutable/#/description 方法...

  • Resize,w 360,h 240
    #53. Maximum Subarray

    https://leetcode.com/problems/maximum-subarray/#/description 说明 查找连续子数组,...