mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-01 17:53:18 +08:00
refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点 Update the footnotes in the figures * Update mindmap * Reduce the size of the mindmap.png
This commit is contained in:
@@ -12,7 +12,7 @@ public:
|
||||
// 邻接表,key: 顶点,value:该顶点的所有邻接顶点
|
||||
unordered_map<Vertex*, vector<Vertex*>> adjList;
|
||||
|
||||
/* 在 vector 中删除指定结点 */
|
||||
/* 在 vector 中删除指定节点 */
|
||||
void remove(vector<Vertex*> &vec, Vertex *vet) {
|
||||
for (int i = 0; i < vec.size(); i++) {
|
||||
if (vec[i] == vet) {
|
||||
|
||||
Reference in New Issue
Block a user