xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

数据结构剖析:图 All In One

数据结构剖析:图 All In One

有向图

无向图

image

  1. 无向图:边、邻接点、顶点

  2. 有向图:弧、度、顶点

弧头,弧尾
出度,入度

类型
概念
图解
无向图 边、邻接点、顶点 image
有向图 弧(弧头,弧尾)、度(出度,入度)、顶点 image

图的遍历

最小生成树

图应用场景

  1. 地图,路径规划 ...

  2. 战略规划,城市重要性(权重,加权)

LeetCode

Graph

https://leetcode.cn/leetbook/read/illustration-of-algorithm/50e446/

LeetCode Playground

https://leetcode.com/playground/

https://leetcode.cn/playground/

refs

图的遍历算法 All In One

  1. 深度优先搜素 / DFS

  1. 广度优先搜素 / BFS

https://www.cnblogs.com/xgqfrms/p/13207634.html

图解算法数据结构 All In One

image

https://www.cnblogs.com/xgqfrms/p/16366896.html

https://www.imooc.com/video/12010



©xgqfrms 2012-2025

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @   xgqfrms  阅读(8)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
历史上的今天:
2022-01-15 Apple beats solo 3 耳机罩 All In One
2022-01-15 js auto expand array All In One
2021-01-15 npm config set registry
2021-01-15 VuePress plugins All In One
2021-01-15 surge & free online docs website service
2021-01-15 Front End Frameworks Trending 2021
2021-01-15 vuepress & package.json lock version
点击右上角即可分享
微信分享提示