项目
在 GitHub 查看
ncduy0303/Competitive-Programming
关于
我为竞赛编程整理的重要算法和数据结构模板及实现
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Competitive Programming
My own templates and implementation of important algorithms and data structures for competitive programming
My profile: Codeforces, AtCoder, LeetCode
Star History
Contest templates
Graph
- Graph Traversing (DFS, BFS)
- Flood Fill
- Minimum Spanning Tree (Kruskal, Prim)
- Shortest Paths (Dijkstra, Bellman-Ford, 0-1 BFS, Floyd Warshall)
- Bridges and Articulation Points
- Strongly Connected Components (Tarjan, Kosaraju)
- Bipartite Matching
- Topological Sort (DFS, in_deg)
- Maximum FLow (Edmonds-Karp, Dinic)
- Lowest Common Ancestor (Binary Lifting, RMQ)
Dynamic Programming
- 0-1 Knapsack
- Coin Change
- Max Sum Subarray: 1D, 2D
- Longest Common Subsequence
- Longest Increasing Subsequence
- Digit DP
- SOS DP
- Weighted Job Scheduling
- Cutting Sticks
- Matrix Chain
- Elevator Rides
- Travelling Salesman Problem
- Deque Trick
- Divide & Conquer Trick
- Convex Hull Trick
Data Structure
- Sparse Table
- Fenwick Tree
- Segment Tree
- Treap
- SQRT Decomposition + Mo's Algorithm
- Disjoint Set Union
- Trie
- Suffix Array
- Policy-based data structures C++ STL
- Heavy Light Decomposition
String Algorithm
- Pattern Searching (KMP, Z-Algorithm, Rabin-Karp)
Number Theory
- Sieve of Eratosthenes
- Greatest Common Divisor (Euclidean Algorithm)
- Quick Exponentiation
- Fibonacci
- Binomial Coefficients
Computational Geometry
- Sweep Line: Closet Pairs, Rectangle Union
Other Classic Problems
探索相关项目
加载中…