- 博客(3)
- 收藏
- 关注
转载 python遍历二叉树
定义二叉树:class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None构建二叉树:# 返回构造的TreeNode根节点 def reConstructBinaryTree(sel...
2018-10-23 17:44:00
170
转载 centos7启动进入单用户模式
在修改开机自启文件 /etc/rc.d/rc.local 时service supervisord start命令出错,导致无法开机解决方法:1.开机按F12,在想进入的系统上按e 2.修改r/o为r/w(以linuxefi或linux16开头的那行),否则shell中只读无操作权限 3.删除rhgb quiet参数,在本行末尾添加init = /bin/sh...
2018-09-26 11:30:00
493
转载 Git使用方法
本机:先 git add Filename , 再 git commit -m "本次名称" ,其中 git commit -am "本次修改名称" (不用add可直接上传)git init 文件夹需先初始化 , git status 查看当前修改过的和未上传的状态 , git log 查看上传记录, git show 查看最近一次上传详细内容撤销undo操作:git c...
2018-09-20 16:20:00
95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人