├── .gitbook └── assets │ ├── Sieve_of_Eratosthenes_animation.gif │ ├── binary-answer-1.png │ ├── binary-answer-2.png │ ├── bit-sum.png │ ├── bit-sum2 (1).png │ ├── bit-sum2 (2).png │ ├── bit-sum2.png │ ├── bit.png │ ├── bit1 (1).png │ ├── bit1.png │ ├── bit2.png │ ├── bit3.png │ ├── cross-product-right-hand-rule.png │ ├── image (1).png │ ├── image (2).png │ ├── image (3) (1).png │ ├── image (3).png │ ├── image.png │ ├── low-link-value.png │ ├── monostack.png │ ├── scc.png │ └── traveling-salesperson.png ├── README.md ├── SUMMARY.md ├── array ├── README.md ├── at-most-to-equal.md ├── count-inversions-in-an-array.md ├── interleaving-placement.md ├── kadane.md ├── left-to-right-state-transition.md ├── permutation.md ├── quick-select.md ├── sliding-window.md └── two-pointers.md ├── backtracking.md ├── binary-answer.key ├── binary-answer.md ├── binary-lifting.md ├── binary-search.md ├── binary-tree ├── README.md ├── avl-tree.md ├── binary-search-tree.md ├── serialization-and-deserialization.md └── traversal.md ├── bit-manipulation.md ├── company ├── README.md └── facebook.md ├── cpp ├── README.md ├── array.md ├── memset-3f.md └── overflow.md ├── data-structure ├── README.md ├── binary-indexed-tree.md ├── segment-tree-and-binary-index-tree.md ├── segment-tree.md ├── stack.md ├── trie.md ├── union-by-rank.png └── union-find.md ├── date.md ├── difference-array.md ├── discretization.md ├── divide-and-conquer.md ├── dynamic-programming ├── bitmask-dp.md ├── dp-on-subsets.md ├── dp-on-tree.md ├── dp-with-sorting.md ├── dynamic-programming.md ├── knapsack │ ├── 0-1-knapsack.md │ ├── README.md │ ├── bounded-knapsack.md │ └── unbounded-knapsack.md ├── selective-state-dp.md ├── traveling-salesperson.key └── travelling-salesperson.md ├── graph ├── README.md ├── bi-directional-breadth-first-search.md ├── bipartite.md ├── breadth-first-search.md ├── component-coloring.md ├── component-count.md ├── depth-first-search.md ├── eulerian-path.md ├── maximum-bipartite-matching.md ├── minimum-spanning-tree │ ├── README.md │ ├── kruskal.md │ └── prim.md ├── shortest-path │ ├── README.md │ ├── bellman-ford.md │ ├── dijkstra.md │ ├── floyd-warshall.md │ ├── johnson.md │ └── shortest-path-faster-algorithm.md ├── tarjan.md ├── topological-sort.md ├── tree-diameter.md └── tree-ring-order-traversal.md ├── gray-code.md ├── great-problems-for-practice.md ├── greedy ├── README.md ├── greedy-scheduling.md └── regret-greedy.md ├── interval-scheduling-maximization.md ├── io-optimization.md ├── k-subset-partitioning.md ├── line-sweep.md ├── longest-common-subsequence.md ├── longest-increasing-subsequence.md ├── math ├── README.md ├── catalan-number.md ├── combinatorics.md ├── factorial.md ├── factorization.md ├── fast-pow.md ├── gcd.md ├── geometry.md ├── get-digits.md ├── lcm.md ├── median-minimizes-sum-of-absolute-deviations.md ├── mode.md ├── modular-multiplicative-inverse.md ├── palindrome.md ├── prime-number.md ├── round-up.md ├── sieve-of-eratosthenes.md ├── stars-and-bars.md └── sum-of-sequence.md ├── meet-in-the-middle.md ├── minmax.md ├── miscellaneous ├── README.md ├── bin-packing.md ├── floyds-tortoise-and-hare.md ├── hungarian.md └── palindrome.md ├── mono-deque.md ├── monotonic-stack.md ├── offline-query.md ├── p-and-np.md ├── prefix-state-map.md ├── prefix-sum.md ├── random.md ├── reservoir-sampling.md ├── reverse-polish-notation.md ├── sort ├── README.md ├── bubble-sort.md ├── cycle-sort.md ├── heap-sort.md ├── merge-sort.md ├── quick-sort.md └── sorting.md ├── sqrt-decomposition.md ├── stl ├── README.md ├── cpp-stl.md ├── istringstream.md ├── lower_bound-upper_bound.md └── priority_queue.md ├── string ├── README.md ├── kmp.md ├── manacher.md ├── rabin-karp.md ├── string-processing.md └── z.md └── summary.sh /.gitbook/assets/Sieve_of_Eratosthenes_animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/Sieve_of_Eratosthenes_animation.gif -------------------------------------------------------------------------------- /.gitbook/assets/binary-answer-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/binary-answer-1.png -------------------------------------------------------------------------------- /.gitbook/assets/binary-answer-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/binary-answer-2.png -------------------------------------------------------------------------------- /.gitbook/assets/bit-sum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit-sum.png -------------------------------------------------------------------------------- /.gitbook/assets/bit-sum2 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit-sum2 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/bit-sum2 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit-sum2 (2).png -------------------------------------------------------------------------------- /.gitbook/assets/bit-sum2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit-sum2.png -------------------------------------------------------------------------------- /.gitbook/assets/bit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit.png -------------------------------------------------------------------------------- /.gitbook/assets/bit1 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit1 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/bit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit1.png -------------------------------------------------------------------------------- /.gitbook/assets/bit2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit2.png -------------------------------------------------------------------------------- /.gitbook/assets/bit3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/bit3.png -------------------------------------------------------------------------------- /.gitbook/assets/cross-product-right-hand-rule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/cross-product-right-hand-rule.png -------------------------------------------------------------------------------- /.gitbook/assets/image (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/image (1).png -------------------------------------------------------------------------------- /.gitbook/assets/image (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/image (2).png -------------------------------------------------------------------------------- /.gitbook/assets/image (3) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/image (3) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/image (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/image (3).png -------------------------------------------------------------------------------- /.gitbook/assets/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/image.png -------------------------------------------------------------------------------- /.gitbook/assets/low-link-value.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/low-link-value.png -------------------------------------------------------------------------------- /.gitbook/assets/monostack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/monostack.png -------------------------------------------------------------------------------- /.gitbook/assets/scc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/scc.png -------------------------------------------------------------------------------- /.gitbook/assets/traveling-salesperson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/.gitbook/assets/traveling-salesperson.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /array/README.md: -------------------------------------------------------------------------------- 1 | # Array 2 | 3 | -------------------------------------------------------------------------------- /array/at-most-to-equal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/at-most-to-equal.md -------------------------------------------------------------------------------- /array/count-inversions-in-an-array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/count-inversions-in-an-array.md -------------------------------------------------------------------------------- /array/interleaving-placement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/interleaving-placement.md -------------------------------------------------------------------------------- /array/kadane.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/kadane.md -------------------------------------------------------------------------------- /array/left-to-right-state-transition.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/left-to-right-state-transition.md -------------------------------------------------------------------------------- /array/permutation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/permutation.md -------------------------------------------------------------------------------- /array/quick-select.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/quick-select.md -------------------------------------------------------------------------------- /array/sliding-window.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/sliding-window.md -------------------------------------------------------------------------------- /array/two-pointers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/array/two-pointers.md -------------------------------------------------------------------------------- /backtracking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/backtracking.md -------------------------------------------------------------------------------- /binary-answer.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-answer.key -------------------------------------------------------------------------------- /binary-answer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-answer.md -------------------------------------------------------------------------------- /binary-lifting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-lifting.md -------------------------------------------------------------------------------- /binary-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-search.md -------------------------------------------------------------------------------- /binary-tree/README.md: -------------------------------------------------------------------------------- 1 | # Binary Tree 2 | 3 | -------------------------------------------------------------------------------- /binary-tree/avl-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-tree/avl-tree.md -------------------------------------------------------------------------------- /binary-tree/binary-search-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-tree/binary-search-tree.md -------------------------------------------------------------------------------- /binary-tree/serialization-and-deserialization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-tree/serialization-and-deserialization.md -------------------------------------------------------------------------------- /binary-tree/traversal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/binary-tree/traversal.md -------------------------------------------------------------------------------- /bit-manipulation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/bit-manipulation.md -------------------------------------------------------------------------------- /company/README.md: -------------------------------------------------------------------------------- 1 | # Company 2 | 3 | -------------------------------------------------------------------------------- /company/facebook.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/company/facebook.md -------------------------------------------------------------------------------- /cpp/README.md: -------------------------------------------------------------------------------- 1 | # Cpp 2 | 3 | -------------------------------------------------------------------------------- /cpp/array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/cpp/array.md -------------------------------------------------------------------------------- /cpp/memset-3f.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/cpp/memset-3f.md -------------------------------------------------------------------------------- /cpp/overflow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/cpp/overflow.md -------------------------------------------------------------------------------- /data-structure/README.md: -------------------------------------------------------------------------------- 1 | # Data Structure 2 | 3 | -------------------------------------------------------------------------------- /data-structure/binary-indexed-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/binary-indexed-tree.md -------------------------------------------------------------------------------- /data-structure/segment-tree-and-binary-index-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/segment-tree-and-binary-index-tree.md -------------------------------------------------------------------------------- /data-structure/segment-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/segment-tree.md -------------------------------------------------------------------------------- /data-structure/stack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/stack.md -------------------------------------------------------------------------------- /data-structure/trie.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/trie.md -------------------------------------------------------------------------------- /data-structure/union-by-rank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/union-by-rank.png -------------------------------------------------------------------------------- /data-structure/union-find.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/data-structure/union-find.md -------------------------------------------------------------------------------- /date.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/date.md -------------------------------------------------------------------------------- /difference-array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/difference-array.md -------------------------------------------------------------------------------- /discretization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/discretization.md -------------------------------------------------------------------------------- /divide-and-conquer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/divide-and-conquer.md -------------------------------------------------------------------------------- /dynamic-programming/bitmask-dp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/bitmask-dp.md -------------------------------------------------------------------------------- /dynamic-programming/dp-on-subsets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/dp-on-subsets.md -------------------------------------------------------------------------------- /dynamic-programming/dp-on-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/dp-on-tree.md -------------------------------------------------------------------------------- /dynamic-programming/dp-with-sorting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/dp-with-sorting.md -------------------------------------------------------------------------------- /dynamic-programming/dynamic-programming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/dynamic-programming.md -------------------------------------------------------------------------------- /dynamic-programming/knapsack/0-1-knapsack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/knapsack/0-1-knapsack.md -------------------------------------------------------------------------------- /dynamic-programming/knapsack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/knapsack/README.md -------------------------------------------------------------------------------- /dynamic-programming/knapsack/bounded-knapsack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/knapsack/bounded-knapsack.md -------------------------------------------------------------------------------- /dynamic-programming/knapsack/unbounded-knapsack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/knapsack/unbounded-knapsack.md -------------------------------------------------------------------------------- /dynamic-programming/selective-state-dp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/selective-state-dp.md -------------------------------------------------------------------------------- /dynamic-programming/traveling-salesperson.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/traveling-salesperson.key -------------------------------------------------------------------------------- /dynamic-programming/travelling-salesperson.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/dynamic-programming/travelling-salesperson.md -------------------------------------------------------------------------------- /graph/README.md: -------------------------------------------------------------------------------- 1 | # Graph 2 | 3 | -------------------------------------------------------------------------------- /graph/bi-directional-breadth-first-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/bi-directional-breadth-first-search.md -------------------------------------------------------------------------------- /graph/bipartite.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/bipartite.md -------------------------------------------------------------------------------- /graph/breadth-first-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/breadth-first-search.md -------------------------------------------------------------------------------- /graph/component-coloring.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/component-coloring.md -------------------------------------------------------------------------------- /graph/component-count.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/component-count.md -------------------------------------------------------------------------------- /graph/depth-first-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/depth-first-search.md -------------------------------------------------------------------------------- /graph/eulerian-path.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/eulerian-path.md -------------------------------------------------------------------------------- /graph/maximum-bipartite-matching.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/maximum-bipartite-matching.md -------------------------------------------------------------------------------- /graph/minimum-spanning-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/minimum-spanning-tree/README.md -------------------------------------------------------------------------------- /graph/minimum-spanning-tree/kruskal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/minimum-spanning-tree/kruskal.md -------------------------------------------------------------------------------- /graph/minimum-spanning-tree/prim.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/minimum-spanning-tree/prim.md -------------------------------------------------------------------------------- /graph/shortest-path/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/shortest-path/README.md -------------------------------------------------------------------------------- /graph/shortest-path/bellman-ford.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/shortest-path/bellman-ford.md -------------------------------------------------------------------------------- /graph/shortest-path/dijkstra.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/shortest-path/dijkstra.md -------------------------------------------------------------------------------- /graph/shortest-path/floyd-warshall.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/shortest-path/floyd-warshall.md -------------------------------------------------------------------------------- /graph/shortest-path/johnson.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/shortest-path/johnson.md -------------------------------------------------------------------------------- /graph/shortest-path/shortest-path-faster-algorithm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/shortest-path/shortest-path-faster-algorithm.md -------------------------------------------------------------------------------- /graph/tarjan.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/tarjan.md -------------------------------------------------------------------------------- /graph/topological-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/topological-sort.md -------------------------------------------------------------------------------- /graph/tree-diameter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/tree-diameter.md -------------------------------------------------------------------------------- /graph/tree-ring-order-traversal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/graph/tree-ring-order-traversal.md -------------------------------------------------------------------------------- /gray-code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/gray-code.md -------------------------------------------------------------------------------- /great-problems-for-practice.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/great-problems-for-practice.md -------------------------------------------------------------------------------- /greedy/README.md: -------------------------------------------------------------------------------- 1 | # Greedy 2 | 3 | -------------------------------------------------------------------------------- /greedy/greedy-scheduling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/greedy/greedy-scheduling.md -------------------------------------------------------------------------------- /greedy/regret-greedy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/greedy/regret-greedy.md -------------------------------------------------------------------------------- /interval-scheduling-maximization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/interval-scheduling-maximization.md -------------------------------------------------------------------------------- /io-optimization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/io-optimization.md -------------------------------------------------------------------------------- /k-subset-partitioning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/k-subset-partitioning.md -------------------------------------------------------------------------------- /line-sweep.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/line-sweep.md -------------------------------------------------------------------------------- /longest-common-subsequence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/longest-common-subsequence.md -------------------------------------------------------------------------------- /longest-increasing-subsequence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/longest-increasing-subsequence.md -------------------------------------------------------------------------------- /math/README.md: -------------------------------------------------------------------------------- 1 | # Math 2 | 3 | -------------------------------------------------------------------------------- /math/catalan-number.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/catalan-number.md -------------------------------------------------------------------------------- /math/combinatorics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/combinatorics.md -------------------------------------------------------------------------------- /math/factorial.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/factorial.md -------------------------------------------------------------------------------- /math/factorization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/factorization.md -------------------------------------------------------------------------------- /math/fast-pow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/fast-pow.md -------------------------------------------------------------------------------- /math/gcd.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/gcd.md -------------------------------------------------------------------------------- /math/geometry.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/geometry.md -------------------------------------------------------------------------------- /math/get-digits.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/get-digits.md -------------------------------------------------------------------------------- /math/lcm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/lcm.md -------------------------------------------------------------------------------- /math/median-minimizes-sum-of-absolute-deviations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/median-minimizes-sum-of-absolute-deviations.md -------------------------------------------------------------------------------- /math/mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/mode.md -------------------------------------------------------------------------------- /math/modular-multiplicative-inverse.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/modular-multiplicative-inverse.md -------------------------------------------------------------------------------- /math/palindrome.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/palindrome.md -------------------------------------------------------------------------------- /math/prime-number.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/prime-number.md -------------------------------------------------------------------------------- /math/round-up.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/round-up.md -------------------------------------------------------------------------------- /math/sieve-of-eratosthenes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/sieve-of-eratosthenes.md -------------------------------------------------------------------------------- /math/stars-and-bars.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/stars-and-bars.md -------------------------------------------------------------------------------- /math/sum-of-sequence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/math/sum-of-sequence.md -------------------------------------------------------------------------------- /meet-in-the-middle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/meet-in-the-middle.md -------------------------------------------------------------------------------- /minmax.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/minmax.md -------------------------------------------------------------------------------- /miscellaneous/README.md: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | 3 | -------------------------------------------------------------------------------- /miscellaneous/bin-packing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/miscellaneous/bin-packing.md -------------------------------------------------------------------------------- /miscellaneous/floyds-tortoise-and-hare.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/miscellaneous/floyds-tortoise-and-hare.md -------------------------------------------------------------------------------- /miscellaneous/hungarian.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/miscellaneous/hungarian.md -------------------------------------------------------------------------------- /miscellaneous/palindrome.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/miscellaneous/palindrome.md -------------------------------------------------------------------------------- /mono-deque.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/mono-deque.md -------------------------------------------------------------------------------- /monotonic-stack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/monotonic-stack.md -------------------------------------------------------------------------------- /offline-query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/offline-query.md -------------------------------------------------------------------------------- /p-and-np.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/p-and-np.md -------------------------------------------------------------------------------- /prefix-state-map.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/prefix-state-map.md -------------------------------------------------------------------------------- /prefix-sum.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/prefix-sum.md -------------------------------------------------------------------------------- /random.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/random.md -------------------------------------------------------------------------------- /reservoir-sampling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/reservoir-sampling.md -------------------------------------------------------------------------------- /reverse-polish-notation.md: -------------------------------------------------------------------------------- 1 | # Reverse Polish Notation 2 | 3 | -------------------------------------------------------------------------------- /sort/README.md: -------------------------------------------------------------------------------- 1 | # Sort 2 | 3 | -------------------------------------------------------------------------------- /sort/bubble-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sort/bubble-sort.md -------------------------------------------------------------------------------- /sort/cycle-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sort/cycle-sort.md -------------------------------------------------------------------------------- /sort/heap-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sort/heap-sort.md -------------------------------------------------------------------------------- /sort/merge-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sort/merge-sort.md -------------------------------------------------------------------------------- /sort/quick-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sort/quick-sort.md -------------------------------------------------------------------------------- /sort/sorting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sort/sorting.md -------------------------------------------------------------------------------- /sqrt-decomposition.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/sqrt-decomposition.md -------------------------------------------------------------------------------- /stl/README.md: -------------------------------------------------------------------------------- 1 | # Stl 2 | 3 | -------------------------------------------------------------------------------- /stl/cpp-stl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/stl/cpp-stl.md -------------------------------------------------------------------------------- /stl/istringstream.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/stl/istringstream.md -------------------------------------------------------------------------------- /stl/lower_bound-upper_bound.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/stl/lower_bound-upper_bound.md -------------------------------------------------------------------------------- /stl/priority_queue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/stl/priority_queue.md -------------------------------------------------------------------------------- /string/README.md: -------------------------------------------------------------------------------- 1 | # String 2 | 3 | -------------------------------------------------------------------------------- /string/kmp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/string/kmp.md -------------------------------------------------------------------------------- /string/manacher.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/string/manacher.md -------------------------------------------------------------------------------- /string/rabin-karp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/string/rabin-karp.md -------------------------------------------------------------------------------- /string/string-processing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/string/string-processing.md -------------------------------------------------------------------------------- /string/z.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/string/z.md -------------------------------------------------------------------------------- /summary.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lzl124631x/algorithm/HEAD/summary.sh --------------------------------------------------------------------------------