会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
白雪儿
the crystal snow flakes dance in the air.
CnBlogs
Home
New Post
Contact
Admin
Subscription
2022年3月17日
BFS框架
BFS框架 1 // 计算从起点 start 到终点 target 的最近距离 2 int BFS(Node start, Node target) { 3 Queue<Node> q; // 核心数据结构 4 Set<Node> visited; // 避免走回头路 5 6 q.offer(sta
Read More
posted @ 2022-03-17 16:31 白雪儿
Views(37)
Comments(0)
Diggs(0)
Edit
公告