240 發(fā)簡信
IP屬地:云南
  • 對比兩個string在退格操作后是否相同

    兩個string 都有字母和backspace飒房,然后看最后是不是一樣的結(jié)果 從后往前traverse O(N) + O(1)

  • 120
    ArrayList與LinkedList的區(qū)別

    DZone ArrayList vs. LinkedList vs. Vector From the hierarchy diagram, they all implemen...

  • 找包含N個substring的最小string

    給兩個string,比如 lee和eel, 找到一個最短的string, 它的substring包含這兩個stirng, 比如 leel. 找A與B的交集 Follow-up...

  • 比較string pattern

    給一個pattern, check true or false萌朱, 比如abbba->cdddc就是true sol: 每個字母一種映射(hashmap) follow up:...

  • 高頻 凳子上坐人

    在一排座位中,找到與兩邊人距離的最遠(yuǎn)的位置 Follow-up:凳子上一開始沒有人策菜,然后一個一個往里面放晶疼,每次放的時候O(1)時間求放在哪里距離最大(數(shù)學(xué)問題 ) searc...

  • sort chunk

    給一個數(shù)組,要求你盡可能多的切割這個數(shù)組做入,使得每一個小段分別sort之后冒晰,整個數(shù)組就sort了 if minValue of Latter chunk is larger t...

  • 【DP】 - Unique Paths

    Given a grid[][], one can only move either right, right up or right down at any point i...

  • LC 727 Minimum Window Subsequence

    LC 727 Description Given strings S and T, find the minimum (contiguous) substring W of ...

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