# tsingpig/python-quick-course architecture

> Architecture diagram of the GitHub repository tsingpig/python-quick-course, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tsingpig/python-quick-course
- Repository: https://github.com/tsingpig/python-quick-course

## Overview

This repository is a Chinese-language Python crash course for Lanqiao Cup and general algorithm-competition preparation, organized as ten numbered lesson directories. A learner studies Python syntax and basic algorithm/data-structure techniques, then applies them in problem-oriented examples. The graph groups lessons by subject and shows learner access to the documented curriculum; it does not imply that lesson files call one another. The README lists external problem banks and supplementary materials, but sampled evidence does not establish runtime integrations.

Main entry points: [`蓝桥杯Python冲刺课_课时1 语法基础`](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B61%20%E8%AF%AD%E6%B3%95%E5%9F%BA%E7%A1%80) (Syntax basics), [`蓝桥杯Python冲刺课_课时2 算法入门`](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B62%20%E7%AE%97%E6%B3%95%E5%85%A5%E9%97%A8) (Algorithm basics), [`蓝桥杯Python冲刺课_课时3 贪心 & 排序`](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B63%20%E8%B4%AA%E5%BF%83%20%26%20%E6%8E%92%E5%BA%8F) (Greedy and sorting), [`蓝桥杯Python冲刺课_课时4 暴力 & 哈希 & 前缀和`](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B64%20%E6%9A%B4%E5%8A%9B%20%26%20%E5%93%88%E5%B8%8C%20%26%20%E5%89%8D%E7%BC%80%E5%92%8C) (Hash and prefix sums)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Python foundations"]
  node_syntax["Syntax basics"]
  node_algorithm_intro["Algorithm basics"]
end

subgraph group_techniques["Algorithm techniques"]
  node_greedy_sort["Greedy and sorting"]
  node_hash_prefix["Hash and prefix sums"]
  node_binary_search["Binary search"]
  node_traversal["BFS and DFS"]
end

subgraph group_structures["Data structures"]
  node_data_structures["DSU and heaps"]
  node_dynamic_programming["Dynamic programming"]
end

subgraph group_specialties["Math and graphs"]
  node_graph_algorithms["Graph algorithms"]
  node_math_dates["Number theory and dates"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_syntax
node_learner -->|"studies"| node_algorithm_intro
node_learner -->|"studies"| node_greedy_sort
node_learner -->|"studies"| node_hash_prefix
node_learner -->|"studies"| node_binary_search
node_learner -->|"studies"| node_traversal
node_learner -->|"studies"| node_data_structures
node_learner -->|"studies"| node_dynamic_programming
node_learner -->|"studies"| node_graph_algorithms
node_learner -->|"studies"| node_math_dates

click node_syntax "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B61%20%E8%AF%AD%E6%B3%95%E5%9F%BA%E7%A1%80"
click node_algorithm_intro "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B62%20%E7%AE%97%E6%B3%95%E5%85%A5%E9%97%A8"
click node_greedy_sort "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B63%20%E8%B4%AA%E5%BF%83%20%26%20%E6%8E%92%E5%BA%8F"
click node_hash_prefix "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B64%20%E6%9A%B4%E5%8A%9B%20%26%20%E5%93%88%E5%B8%8C%20%26%20%E5%89%8D%E7%BC%80%E5%92%8C"
click node_binary_search "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B65%20%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%20%26%20%E4%BA%8C%E5%88%86%E7%AD%94%E6%A1%88"
click node_traversal "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B66%20%E6%90%9C%E7%B4%A2%20%26%20BFS%20%26%20DFS"
click node_data_structures "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B67%20%E5%B9%B6%E6%9F%A5%E9%9B%86%20%26%20%E5%8D%95%E8%B0%83%E7%BB%93%E6%9E%84"
click node_dynamic_programming "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B68%20%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92"
click node_graph_algorithms "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B69%20%E5%9B%BE%E8%AE%BA"
click node_math_dates "https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B610%20%E6%95%B0%E8%AE%BA%E5%9F%BA%E7%A1%80%20%26%20%E6%97%A5%E6%9C%9F%E9%97%AE%E9%A2%98"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_syntax,node_algorithm_intro toneBlue
class node_greedy_sort,node_hash_prefix,node_binary_search,node_traversal toneAmber
class node_data_structures,node_dynamic_programming toneMint
class node_graph_algorithms,node_math_dates toneRose
class node_learner toneIndigo
```

## Components

### Python foundations

- [Syntax basics](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B61%20%E8%AF%AD%E6%B3%95%E5%9F%BA%E7%A1%80): `蓝桥杯Python冲刺课_课时1 语法基础`
- [Algorithm basics](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B62%20%E7%AE%97%E6%B3%95%E5%85%A5%E9%97%A8): `蓝桥杯Python冲刺课_课时2 算法入门`

### Algorithm techniques

- [Greedy and sorting](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B63%20%E8%B4%AA%E5%BF%83%20%26%20%E6%8E%92%E5%BA%8F): `蓝桥杯Python冲刺课_课时3 贪心 & 排序`
- [Hash and prefix sums](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B64%20%E6%9A%B4%E5%8A%9B%20%26%20%E5%93%88%E5%B8%8C%20%26%20%E5%89%8D%E7%BC%80%E5%92%8C): `蓝桥杯Python冲刺课_课时4 暴力 & 哈希 & 前缀和`
- [Binary search](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B65%20%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%20%26%20%E4%BA%8C%E5%88%86%E7%AD%94%E6%A1%88): `蓝桥杯Python冲刺课_课时5 二分查找 & 二分答案`
- [BFS and DFS](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B66%20%E6%90%9C%E7%B4%A2%20%26%20BFS%20%26%20DFS): `蓝桥杯Python冲刺课_课时6 搜索 & BFS & DFS`

### Data structures

- [DSU and heaps](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B67%20%E5%B9%B6%E6%9F%A5%E9%9B%86%20%26%20%E5%8D%95%E8%B0%83%E7%BB%93%E6%9E%84): `蓝桥杯Python冲刺课_课时7 并查集 & 单调结构`
- [Dynamic programming](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B68%20%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92): `蓝桥杯Python冲刺课_课时8 动态规划`

### Math and graphs

- [Graph algorithms](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B69%20%E5%9B%BE%E8%AE%BA): `蓝桥杯Python冲刺课_课时9 图论`
- [Number theory and dates](https://github.com/tsingpig/python-quick-course/tree/main/%E8%93%9D%E6%A1%A5%E6%9D%AFPython%E5%86%B2%E5%88%BA%E8%AF%BE_%E8%AF%BE%E6%97%B610%20%E6%95%B0%E8%AE%BA%E5%9F%BA%E7%A1%80%20%26%20%E6%97%A5%E6%9C%9F%E9%97%AE%E9%A2%98): `蓝桥杯Python冲刺课_课时10 数论基础 & 日期问题`

### Other components

- **Learner**

## Connections

- Learner → Syntax basics: studies
- Learner → Algorithm basics: studies
- Learner → Greedy and sorting: studies
- Learner → Hash and prefix sums: studies
- Learner → Binary search: studies
- Learner → BFS and DFS: studies
- Learner → DSU and heaps: studies
- Learner → Dynamic programming: studies
- Learner → Graph algorithms: studies
- Learner → Number theory and dates: studies
