地址 https://leetcode-cn.com/problems/route-between-nodes-lcci/ 节点间通路。给定有向图,设计一个算法,找出两个节点之间是否存在一条路径。 示例1: 输入:n = 3, graph = [[0, 1], [0, 2], [1, 2], [1, ...
分类:
其他好文 时间:
2021-03-03 12:10:18
阅读次数:
0
vue中computed计算属性无法直接进行传参 如果有传参数的需求比如说做数据筛选功能可以使用闭包函数实现。 通过闭包函数传参即可实现 ...
分类:
其他好文 时间:
2021-03-03 12:07:49
阅读次数:
0
web架构的发展、web应用程序服务器、CGI、FASTCGI、WSGI、uWSGI、web框架 ...
分类:
Web程序 时间:
2021-03-03 12:03:47
阅读次数:
0
使用正则将手机号中间四位转换为 * 号: let mobile = "131 0000 8080" function convertMobile(mobile){ const mobileReg = /(\d{3})(\d{4})(\d{4})/ig; let mobileCalc = mobile ...
分类:
移动开发 时间:
2021-03-03 12:03:01
阅读次数:
0
处理流之三:标准输入输出流 System.in和System.out分别代表了系统标准的输入和输出设备 默认输入设备是键盘,输出设备是显示器 System.out的类型是PrintStream,其h是OutputStream的子类FileOutputStream的子类 练习:把控制台输入的内容写到指 ...
分类:
编程语言 时间:
2021-03-03 11:52:59
阅读次数:
0
如果忘记mysql的密码 修改配置文件跳过密码直接登录 在[mysqld]下面添加 vim /etc/my.cnf skip-grant-tablses 重启mysql服务 service mysqld restart /etc/rc.d/init.d/mysqld restart 登录mysql ...
分类:
数据库 时间:
2021-03-02 12:39:27
阅读次数:
0
Regex.Replace("18888888888", "(\\d{3})\\d{4}(\\d{4})", "$1****$2"); ...
分类:
移动开发 时间:
2021-03-02 12:36:37
阅读次数:
0
https://www.cnblogs.com/yeungchie/ code ; ; 创建一个 tree 作为主 tree mainTree = hiCreateTree('mainTree) ; 创建两个 tree item treeItem1 = hiCreateTreeItem('treeI ...
分类:
其他好文 时间:
2021-03-02 12:29:11
阅读次数:
0
python调包——hashlib加密 #加密 md5 sha1 sha256 sha512 import hashlib msg ="hello world" md5 = hashlib.md5(msg.encode('utf-8'))#之所以选择用utf-8对msg进行编码,是因为考虑到了msg ...
分类:
编程语言 时间:
2021-03-02 12:27:58
阅读次数:
0
系列文章列表,点击展示/隐藏 系列教程一目录:.netcore+vue 前后端分离Demo1Demo2视频教程1视频教程2Code 系列教程二目录:DDD领域驱动设计Demo Code 视频教程 系列教程三目录:Nuxt.js TiBug系统Demo Code 系列教程四目录:VueAdmin 后台 ...
分类:
其他好文 时间:
2021-03-02 12:08:14
阅读次数:
0