Catalog:[骨骼清奇]LC 692 Top K Frequent Words[骨骼清奇]LC 347 Top K Frequent Element[Uber]414Th...
![240](https://cdn2.jianshu.io/assets/default_avatar/9-cceda3cf5072bcdd77e8ca4f21c40998.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
Catalog:[骨骼清奇]LC 692 Top K Frequent Words[骨骼清奇]LC 347 Top K Frequent Element[Uber]414Th...
BST: all left <= n < all right How to determine if a binary tree is height-balanced?An ...
Catalog:[Uber] LC 49 Group Anagram [Uber] LC 49 Group Anagram把相同字母排列不同的單詞放在一起子寓,返回list of...
[G]帶expiration的hashmap,實(shí)現(xiàn)add_task, get_task(if expired, delete)和clean_up如果expiration對(duì)于所...
[Uber]LC 34 Find First and Last Position of Element in Sorted Array找一個(gè)target 在排序數(shù)組中出現(xiàn)多少...
骨骼清奇:LC 394 Decode String LC 844 Backspace String CompareLC 341 Flatten Nested List ...
[骨骼清奇]n-array tree, 給一個(gè)node 算出包括這個(gè)node在內(nèi)的所有child的sum[骨骼清奇]n-array tree苹熏,給一個(gè)node 打印出從這nod...
Catalog:LC 745 [Prefix and Suffix Search]LC 676 [Implement Magic Dictionary]LC 208 Impl...
[Uber]Trapping rain water [基本功]將arr左側(cè)分為小于等于pv=arr[0]褐墅,右側(cè)為大于pv置媳! [蟈蟈電面]LC 31 Next Permutat...
Notes: Implement DFS 的時(shí)候栓始,有幾種情況.(1)在條件滿足的base case下return 1胸完,這樣層層收集起來书释,也可以在那里update全局變量,比如...
Catalog:LC 68 Text Justification[GoogleCall] LC 418 Sentence Screen Fitting LC 68 Tex...
find kth smallest element in an unsorted array問了鏈表赊窥,一個(gè)三連環(huán)的題目爆惧;又問了一個(gè)雙數(shù)組,雙對(duì)沖指針的題目锨能。(他們組做的是分布...
Catalog:LC 857 Minimum Cost to Hire K Workers LC 857 Minimum Cost to Hire K WorkersOur ...
Catalog:LC 855 Exam Room Notes:When you sort a dictionary, you are sorting based on key...
Catalog:LC 890 Find and Replace PatternLC 843 Guess the WordLC 299 Bulls and CowsLC 676...
骨骼清奇:LC 62LC 337 House Robber III LC 486 Predict the Winner LC 312 Burst Balloons ...
LC 849 Maximize Distance to Closest PersonLC 334 Increasing Triplet Subsequence LC 215...
Catalog:LC 三九九 Evaluate DivisionLC 六八四 六八五及其變種(Tree刪除額外邊)LC 803 Bricks Falling When Hit...
Database for airport Airlines table: IDs and names of the airlines Flight table: trip (...
Most mutual exclusion and synchronization mechanisms use hardware atomic operations. Ho...