240 发简信
IP属地:上海
  • Python 三目运算符

    因为Python是没有三目运算符的,也就是我们常用的 a > b ? a : b 唯一的替代就是 a if a>b else b 但是其实我们还...

  • Leetcode 367. Valid Perfect Square

    bool isPerfectSquare(int num) { 46341 = sort(INT_MAX)

  • 二分查找!!再学不会就是瓜皮

    首先想清楚!!二分查找分为四种(数组中包含重复元素)分别为 例如下列数组: 2 3 4 4 4 6 6 6 6 7 对于YES_LEFT或者NO...

  • Leetcode 168. Excel Sheet Column Title

    Given a positive integer, return its corresponding column title as appea...

  • Leetcode 463. Island Perimeter

    You are given a map in form of a two-dimensional integer grid where 1 re...

  • Leetcode 77. Combinations 39. Combination Sum

    Given two integers n and k, return all possible combinations of k number...

  • Leetcode 7. Reverse Integer

    Reverse digits of an integer. click to show spoilers. Have you thought a...