![240](https://cdn2.jianshu.io/assets/default_avatar/7-0993d41a595d6ab6ef17b19496eb2f21.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
兩個(gè)string 都有字母和backspace宏胯,然后看最后是不是一樣的結(jié)果 從后往前traverse O(N) + O(1)
DZone ArrayList vs. LinkedList vs. Vector From the hierarchy diagram, th...
給兩個(gè)string,比如 lee和eel, 找到一個(gè)最短的string, 它的substring包含這兩個(gè)stirng, 比如 leel. 找A...
給一個(gè)pattern, check true or false, 比如abbba->cdddc就是true sol: 每個(gè)字母一種映射(hash...
在一排座位中,找到與兩邊人距離的最遠(yuǎn)的位置 Follow-up:凳子上一開始沒有人,然后一個(gè)一個(gè)往里面放,每次放的時(shí)候O(1)時(shí)間求放在哪里距離...
給一個(gè)數(shù)組,要求你盡可能多的切割這個(gè)數(shù)組丹鸿,使得每一個(gè)小段分別sort之后,整個(gè)數(shù)組就sort了 if minValue of Latter ch...
Given a grid[][], one can only move either right, right up or right down...
LC 727 Description Given strings S and T, find the minimum (contiguous) ...