包括DFS,BFS,树与图的深度优先遍历,树与图的广度优先遍历,拓扑排序,Dijkstra,bellman-ford,spfa,Floyd,Prim,Kruskal,染色法判定二分图,匈牙利算法等内容。

Login to join training plan

常用代码模板3——搜索与图论

Section 1. DFS

Open

Problem Tried AC Difficulty
AcWing842   排列数字 13 10 7
AcWing843   n-皇后问题 9 5 9

Section 2. BFS

Open

Problem Tried AC Difficulty
AcWing844   走迷宫 6 5 10

Section 3. 树与图的深度优先遍历

Open

Problem Tried AC Difficulty
AcWing846   树的重心 3 3 10

Section 4. 树与图的广度优先遍历

Open

Problem Tried AC Difficulty
AcWing847   图中点的层次 3 3 10

Section 5. 拓扑排序

Open

Problem Tried AC Difficulty
AcWing848   有向图的拓扑序列 3 3 10
 
Enrollees
34
Created By