百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

ACM-ICPC-Preparation

> 编程语言
开源

ACM-ICPC 备考指南

2.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

ACM-ICPC 备考指南

This curriculum has been developed to learn Algorithms to use in Competitive Programming, **but can also be used for:** - Practicing for Interviews - Improving Algorithmic Thinking - Practicing for College Classes **Prerequisites:** - To know at least one programming language. (_You have to be able to use the language efficiently._) The concept of this repository is to have well-structured content divided into parts that one can follow even if they are busy. Here we collected sources we find well prepared to learn the proposed topics. The curriculum has different data structures and algorithms. **Estimated time required for a week is 6-7 hours.** (To complete the curriculum in the given time) **Basic usage guide:** Using this repository depends on what the user wants to do with it. Here we are suggesting the following for people who want to slowly gain knowledge of the topics while continuing their studies etc.: 1. Check out the written or video sources provided for a given topic depending on the preference. Go over as many as needed to gain a good understanding of the topic. 2. Without checking the source code, try to replicate the algorithm or data structure on your own. 3. When stuck or when done, look at the source codes provided, and compare them with yours to see what might be your mistake. Try to fix it. 4. After you feel comfortable with the code, try to solve the given problems. 5. When you are done with solving or are stuck at some point, check given solutions and try to understand your mistake or see if a better approach exists. ## Resources Here are some of the websites/tools that we use through this curriculum: - [Leetcode](https://leetcode.com) - [Spoj](http://www.spoj.com) - [Hackerrank](https://www.hackerrank.com/domains) - [Topcoder](https://www.topcoder.com) - [Codeforces](http://codeforces.com) - [Lightoj](http://www.lightoj.com) - [ACM-Timus](http://acm.timus.ru) ## Contribution If you have anything to add, do not hesitate to offer! You can check [Code of Conduct](CODE_OF_CONDUCT.md). You can submit a PR or an issue; I will try to personally review all. ## Topics Here are the topics we currently include in the curriculum. ### Data Structures - Stacks - Queues - Priority queue - Hashmap - Linked List - Trees - Heaps - Advanced Trees - Tries - Segment trees - Fenwick tree or Binary indexed trees - RMQ - SQRT Decomposition - Disjoint Data Structure - C++ STL (optional) ### Algorithms - Number Theory - Prime Numbers (Sieve of Eratosthenes) - GCD and LCM Euclid’s Algorithm - Modular Exponentiation - Long arithmetic (Multi, Add) - Efficient Prime Factorization - Combinatorics (Probability-Combinations-Permutations-Matrix..) - Computational Geometry - Primitive Operations - Intuition - Polygon Inside, Outside - Implementing CCW - Immutable Point ADT - Convex Hull - Closest pair problem - Line intersection - Divide and Conquer - Sort - QuickSort - Counting Sort - Merge Sort - Search - Binary Search - Ternary Search - Graph Theory - Depth First Search (DFS) - Breadth First Search (BFS) - Dijkstra’s Shortest Path - Minimum Spanning Tree - Ford Bellman - Floyd Warshall - LCA (Lowest Common Ancestor) - Max Flow / Min Cut - Dynamic Programming - Knapsack - Matrix chain multiplication - Coin Change - Kadane - Longest increasing Subsequence (with RMQ) - Strings - Z algorithm - Suffix Trees/Arrays - Knuth-Morris-Pratt Algorithm (KMP) - Rabin-Karp Algorithm - Hash - Bit Manipulation - Game theory - Nim game - Grundy numbers - Sprague-Grundy theorem - **Optional Advanced Algorithms** - AVL Trees - Graph Coloring - Mo's Algorithm - Palindromic Tree - Heavy Light Decomposition - Dynamic Programming by Profile - Rod Cutting - Topological Sorting - DP with Bitmask - Dynamic Programming - Diobhantine Equation - Math - Flood Fill - Graph ## Curriculum |Week|Topics|Optional Topics| | --- | --- | --- | |[**Heads Up **](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week00)|
  • Big O Notation
|| |[**1.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week01)|
  • Prime Numbers (Sieve of Eratosthenes)
  • Efficient Prime Factorization
  • Modular Exponentiation
|| |[**2.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week02)|
  • GCD and LCM Euclid’s Algorithm
  • Long arithmetic (Multi, Sum, Div, Sub)
|
  • C++ STL:Vector
  • C++ STL:Pairs
  • C++ STL:Iterators
| |[**3.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week03)|
  • QuickSort
  • Counting Sort
|
  • C++ STL:String
  • C++ STL:Set
  • C++ STL:Map
| |[**4.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week04)|
  • Divide and Conquer
    • Merge Sort
  • Binary Search
|
  • Ternary Search
| |[**5.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week05)|
  • Queue (DS)
  • Stack (DS)
  • Breadth First Search
  • Depth First Search
|
  • C++ STL: Queue
  • C++ STL: Stack
| |[**6.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week06)|
  • Linked List (DS)
  • Dijkstra’s Shortest Path
  • Minimum Spanning Tree (MST)
  • Floyd Warshall
|
  • Cycle Detection (Union Find)
| |[**7.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week07)|
  • Knapsack
  • Coin Change
  • Kadane
|| |[**8.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week08)|**Questions from previous topics**|| |[**9.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week09)|
  • Trees (DS)
  • Segment Trees (DS)
  • Range Minimum Query (RMQ)
  • Lowest Common Ancestor (LCA)
|
  • Topological Sorting
| |[**10.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week10)|
  • Ford Bellman
  • Max Flow / Min Cut
  • Longest increasing Subsequence (with RMQ)
|
  • Heavy Light Decomposition
| |[**11.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week11)|
  • Primitive Operations
    • Intuition
    • Polygon Inside, Outside
    • Implementing CCW
    • Immutable Point ADT
  • Convex Hull
  • Closest pair problem
  • Line intersection
|| |[**12.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week12)|
  • Tries (DS)
  • Suffix Trees/Arrays (DS)
  • Knuth-Morris-Pratt Algorithm (KMP)
  • Rabin-Karp Algorithm
|| |[**13.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week13)|
  • Heaps (DS)
  • Priority queue (DS)
  • Combinatorics
|| |[**14.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week14)|
  • Z algorithm
  • Hash
  • Disjoint Data Structure (DS)
|| |[**15.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week15)|
  • Matrix chain multiplication
  • SQRT Decomposition (DS)
|
  • Mo's Algorithm
  • Rod Cutting
| |[**16.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week16)|**Questions from previous topics**|| |[**17.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week17)|
  • Nim game
  • Grundy numbers
|| |[**18.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week18)|
  • Sprague-Grundy theorem
  • Fenwick tree or Binary indexed trees (DS)
|| |[**19.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week19)|
  • Bit Manipulation
|
  • Palindromic Tree
  • AVL Trees
| |[**20.Week**](https://github.com/NAU-ACM/ACM-ICPC-Preparation/tree/master/Week20)|
  • Heavy Light Decomposition
  • Dynamic Programming by Profile
|
  • Graph Coloring
| ### [Contributers](https://github.com/NAU-ACM/ACM-ICPC-Preparation/graphs/contributors)

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonacm-icpcalgorithmcompetitive-programmingcurriculum

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言