Description Given a sorted array of n integers, find the starting and ending position of a given target value. If the target is not found in the array ...
分类:
其他好文 时间:
2018-08-29 14:45:36
阅读次数:
127
Construct Binary Tree from Preorder and Inorder Traversal /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode lef... ...
分类:
其他好文 时间:
2018-08-28 21:13:50
阅读次数:
176
This post will focus on?**Vault Agent**: a new feature in all versions of Vault that manages the process of secure introduction and the management of tokens for accessing dynamic secrets.
分类:
其他好文 时间:
2018-08-28 18:53:33
阅读次数:
187
题目链接 https://leetcode.com/problems/kth smallest element in a bst/description/ 题目描述 Given a binary search tree, write a function kthSmallest to find th ...
分类:
其他好文 时间:
2018-08-28 14:26:01
阅读次数:
154
题目链接 https://leetcode.com/problems/convert sorted array to binary search tree/description/ 题目描述 Given an array where elements are sorted in ascending ...
分类:
其他好文 时间:
2018-08-28 13:08:04
阅读次数:
147
[抄题]: Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The ...
分类:
其他好文 时间:
2018-08-28 10:38:40
阅读次数:
254
过滤指定目录 grep memset . -r --exclude-dir={dir1,dir3, debug_*} 过滤二进制文件 grep memset . -r --binary-files=without-match 上面的也可以放到一起,过滤二进制文件,同时过滤指定目录 grep mems ...
分类:
其他好文 时间:
2018-08-27 22:01:40
阅读次数:
366
有一个长为$n$的二进制串,保证$01$都存在。你可以询问不超过$15$次,每次询问你给出一个长为$n$的二进制串,交互库会返回你的串和目标串的不同位的数目。求任意一个$0$和$1$的位置。 ...
分类:
其他好文 时间:
2018-08-27 21:54:38
阅读次数:
410
1、安装phpyuminstall-yphpphp-mysql2、安装percona-zabbixyuminstall-yhttps://www.percona.com/downloads/percona-monitoring-plugins/percona-monitoring-plugins-1.1.7/binary/redhat/7/x86_64/percona-zabbix-templat
分类:
数据库 时间:
2018-08-27 21:38:58
阅读次数:
324
闲置已久的空间环境配置忘得差不多了,今天得空整理,重置了磁盘重新搭建环境,首先在CentOS 7.0安装MariaDB的数据库,在这里记录下安装过程,以便以后查看。 1、安装MariaDB 安装命令 安装完成MariaDB,首先启动MariaDB 设置开机启动 接下来进行MariaDB的相关简单配置 ...
分类:
数据库 时间:
2018-08-27 21:32:51
阅读次数:
197