/usr : Unix System Resources /sbin: super user bin /bin是系统的一些指令。bin为binary的简写主要放置一些系统的必备执行档例如:cat、cp、chmod df、dmesg、gzip、kill、ls、mkdir、more、mount、rm、s ...
分类:
系统相关 时间:
2020-05-25 19:50:19
阅读次数:
105
Generic Binary Install MySQL 1、如果未在本地安装依赖库,则数据目录初始化以及后续的服务器启动步骤将会失败。安装libaio库的代码如下 2、添加mysql组和mysql用户。所有的文件和目录应该在mysql用户下 3、解压二进制文件 4、制作软连接 5、MySQL各个目 ...
分类:
数据库 时间:
2020-05-25 12:27:15
阅读次数:
90
题面 Time limit per test: 2 seconds Memory limit per test: 256 megabytes Description Consider all binary strings of length m ( 1≤m≤60 ). A binary string ...
分类:
其他好文 时间:
2020-05-25 12:26:07
阅读次数:
95
背景:在Apache里面下东西经常会有binary和source的版本,不知道两个版本有什么区别、怎么选 区别:简单来讲,binary是编译好的可以直接使用,source是还没编译过的源代码,需要自行编译。 转自:http://blog.sina.com.cn/s/blog_a3fb4c660102 ...
分类:
其他好文 时间:
2020-05-25 12:21:35
阅读次数:
71
Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example: Input: 1 / \ 2 3 \ 5 Output: ["1->2->5", "1->3"] ...
分类:
其他好文 时间:
2020-05-25 10:54:39
阅读次数:
51
很简单,来个层次遍历,当遍历队列,遍历到刚开始遍历时,队列里最后一个数时(也就是遍历len-1次),得到的就是右视图的其中一个节点 /** * Definition for a binary tree node. * public class TreeNode { * int val; * Tree ...
分类:
其他好文 时间:
2020-05-25 09:46:16
阅读次数:
49
1038 Recover the Smallest Number (30分) Given a collection of number segments, you are supposed to recover the smallest number from them. For example, ...
分类:
编程语言 时间:
2020-05-25 00:13:01
阅读次数:
66
工作汇报 编辑器 xwl: 今天: lpx报问题:file_update过于频繁 \ 解决方案:延迟更新, \ 如果200ms没有下一个更改就提交此更改; \ 新更改时reset timer 多文件debug: pdb和gdb都支持带文件名(break xxx.py:123) 获取断点:by edi ...
分类:
其他好文 时间:
2020-05-24 21:11:04
阅读次数:
74
翻转一棵二叉树。 示例: 输入: 4/ \2 7/ \ / \1 3 6 9输出: 4/ \7 2/ \ / \9 6 3 1 python # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): ...
分类:
其他好文 时间:
2020-05-24 13:56:30
阅读次数:
47
地址 https://leetcode-cn.com/contest/weekly-contest-190/problems/pseudo-palindromic-paths-in-a-binary-tree/ 题目描述给你一棵二叉树,每个节点的值为 1 到 9 。我们称二叉树中的一条路径是 「伪回 ...
分类:
其他好文 时间:
2020-05-24 13:51:05
阅读次数:
73