- 博客(3)
- 资源 (29)
- 问答 (1)
- 收藏
- 关注
原创 广度优先搜索(BFS)--leetcode200:求孤岛个数
200.Number of Islands Given a 2d grid map of '1’s (land) and '0’s (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vert...
2019-09-07 12:04:27 893
原创 深度优先遍历(dfs)-leetcode51:经典的八皇后问题
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens puzzle. Each s...
2019-09-07 10:37:28 853
原创 增强版A*算法
本代码是读了《漫画算法》一书中的A*算法之后稍微做了一点改进,不同点在于原来的算法只能在地图内找最小路径,改进后的算法除了在地图内找最小路径,还可以通过穿透找最小路径,比如当路径来到最左边的时候,可以从最右边出来,当到达最下边的时候,可以从最上边出来,最后给了一个演示的例子,看图很容易懂。 import java.util.ArrayList; import java.util.List; imp...
2019-09-04 09:17:21 652
手把手教你制作ubuntu系统备份文件(iso制作)
2019-01-14
神经网络-通俗易懂
2018-12-09
计算机公共实验-linux下基于多线程的网络聊天室
2018-11-26
springmvc+spring+mybatis+Maven+mysql环境搭建源码
2018-08-28
vs2010Python用c++扩展模块详细教程
2018-07-21
springmvc+spring+mybatis+Maven+mysql环境搭建,附源码
2018-04-16
word2vec parameter learning explain
2020-05-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人