240 發(fā)簡信
IP屬地:海南
  • 主元素算法

    counting 大于 n/2, n/3都可以用投票法來做

  • 354. Russian Doll Envelopes

    354.Russian Doll Envelopes You have a number of envelopes with widths an...

  • longest increasing subsequence nlogn 算法

    O(n^2) 算法邏輯:貪心 + 二分搜索 數(shù)據(jù)定義補充:開一個棧揪阿,將a[0]入棧葵腹,每次取棧頂元素top和讀到的元素ai做比較爆袍,如果a[i]> ...

  • 聊聊VIM

    說說vim。 曾經(jīng)我也很懷疑這貨能不能提高開發(fā)效率坞琴。 曾經(jīng)也懷疑為什么要掌握vim哨查。 漆黑的背景,字符光標不停地跳剧辐。 十指飛速寒亥,字符有規(guī)律的出現(xiàn)...

  • Some onsite algorithm questions

    Write a partition algorithm employed in qsort. Analyze time cost in bad,...

  • Leetcode 240 Search a 2D Matrix II

    典型老題,從右上角開始搜索荧关,往下是增往左是減溉奕。比如.[[1 4],[2 5]]右上角元素即4 ir是行標,ic是列標假設(shè)target是2忍啤, ta...

  • LeetCode 202 Happy Number

    Write an algorithm to determine if a number is "happy".A happy number is...

亚洲A日韩AV无卡,小受高潮白浆痉挛av免费观看,成人AV无码久久久久不卡网站,国产AV日韩精品