https://www.linuxidc.com/Linux/2016-03/128880.htm -- sql 导入 接着输入你所导入到Centos下的数据库文Student.sql文件的位置例如:当前目录下打开mariadb 直接导入sql 文件mysql>source /usr/databas ...
分类:
数据库 时间:
2018-09-16 15:58:31
阅读次数:
179
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i ...
分类:
其他好文 时间:
2018-09-15 21:59:23
阅读次数:
192
Suppose that all the keys in a binary tree are distinct positive integers. Given the preorder and inorder traversal sequences, you are supposed to out ...
分类:
其他好文 时间:
2018-09-15 20:55:10
阅读次数:
151
题目描述: Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. 题目来 ...
分类:
编程语言 时间:
2018-09-15 18:21:43
阅读次数:
213
用Binary search 先搜索row 再搜索col ...
分类:
其他好文 时间:
2018-09-15 13:10:51
阅读次数:
163
红帽企业或CentOS的Linux上安装MongoDB的社区版: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ 一、安装 1、配置yum源,在yum源目录下创建一个文件 mongodb-org-4.0.rep ...
分类:
数据库 时间:
2018-09-14 19:55:49
阅读次数:
259
Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or *between the di ...
分类:
其他好文 时间:
2018-09-14 12:44:45
阅读次数:
147
sz命令 用途说明:sz命令是利用ZModem协议来从Linux服务器传送文件到本地,一次可以传送一个或多个文件。相对应的从本地上传文件到Linux服务器,可以使用rz命令。 常用参数 -a 以文本方式传输(ascii)。 -b 以二进制方式传输(binary)。 -e 对控制字符转义(escape ...
分类:
Web程序 时间:
2018-09-14 01:05:20
阅读次数:
224
转自 "[LeetCode] Maximum Depth of Binary Tree 二叉树的最大深度" ...
分类:
其他好文 时间:
2018-09-13 22:46:48
阅读次数:
148
Gym101158G Placing Medals on a Binary Tree 题意 一颗完全二叉树,给出n个点,xi的值表示深度为xi的点。问能否在当前状态下使得从根节点到该点的路径中不会遇到其他点。 思路 其实本题的意思就是 1/2,1/4,1/8等等等等,看剩下的点能不能减。然而由于k值 ...
分类:
其他好文 时间:
2018-09-12 22:07:15
阅读次数:
260