@Bisection Method
@Recursion
Trie
- 208. Implement Trie (Prefix Tree) by Golang
- 648. Replace Words by Golang
- 676. Implement Magic Dictionary by Golang
- 677. Map Sum Pairs
- [720]
- [745]
- [211]
- [642]
- [472]
- [425]
- [421]
- [336]
- [212]
- [208]
BIT/Segment Tree:
Fenwick Tree was proposed to solve the prefix sum problem.
This method is faster to implement update operations than prefix-sum methods.
The idea is to store Partial Sum in each Node and get total sum by traversing the tree from leaf to root.
Sliding Window:
- [239]
Search:
- [17]
- [39]
- [40]
- [77]
- [78]
- [90]
- [216]
- [46]
- [47]
- [784]
- [943]
- [996]
- [22]
- [301]
- [37]
- [51]
- [52]
- [79]
- [212]
- [127]
- [126]
- [752]
- [818]
- [542]
- [675]
- [934]
- [698]
- [93]
- [131]
- [241]
- [282]
- [842]
Dynamic Programming:
- 139. Word Break
- 300. Longest Increasing Subsequence
- 96. Unique Binary Search Trees
- 140. Word Break II
- 818. Race Car
- #673
- #1048
- 70. Climbing Stairs
- 746. Min Cost Climbing Stairs
- 1137. N-th Tribonacci Number
- 1218. Longest Arithmetic Subsequence of Given Difference
- 53. Maximum Subarray.cpp
- #121
- [62]
- [63]
- [64]
- [120]
- [174]
- [931]
- [1210]
- [85]
- [211]
- [304]
- [1277]
- [198]
- [213]
- [309]
- [740]
- [790]
- [801]
- [279]
- [139]
- [140]
- [818]
- [300]
- [673]
- [1048]
- [96]
- [1105]
- [131]
- [89]
- [72]
- [10]
- [44]
- [97]
- [115]
- [583]
- [712]
- [1187]
- [1143]
- [1092]
- [718]
- [1139]
- [688]
- [576]
- [935]
- [322]
- [377]
- [416]
- [494]
- [1043]
- [1049]
- [1220]
- [1230]
- [1262]
- [1269]
- [813]
- [1278]
- [1335]
- [410]
- [1223]
- [312]
- [664]
- [1024]
- [1039]
- [1140]
- [1130]
1.[741]
- [546]
- [943]
- [980]
- [996]
- [1125]
Greedy
- [218]
- [435]
- [452]
- [757]
- [1024]
- [1272]
- [1288]
- [1326]
- [1235]
- [1751]
- [2008]
List
- [2]
- [445]
- [24]
- [206]
- [141]
- [142]
- [23]
- [21]
- [147]
- [148]
- [707]
Two Pointers
- [11]
- [42]
- [125]
- [455]
- [917]
- [925]
- [986]
- [885]
- [167]
- [15]
- [16]
- [977]
- [992]
Graph
- [133]
- [138]
- [200]
- [547]
- [695]
- [733]
- [827]
- [1162]
- [841]
- [1202]
- [207]
- [210]
- [802]
- [399]
- [839]
- [952]
- [990]
- [721]
- [737]
HuaHua's Tech Road: https://zxi.mytechroad.com/