#!/bin/bash
#?Date:2017-10
#?Description:backup?mysql?binary?logs
#?Version:0.1
db_user="root"
myisam_db="mysql"
db_passwd="Junhui_007"
hos
分类:
数据库 时间:
2017-12-09 12:10:56
阅读次数:
276
Binary Indexed Tree(Fenwick tree): 是一个查询和修改复杂度都为log(n)的数据结构。主要用于查询任意两位之间的所有元素之和,但是每次只能修改一个元素的值;经过简单修改可以在log(n)的复杂度下进行范围修改,但是这时只能查询其中一个元素的值(如果加入多个辅助数组则 ...
分类:
其他好文 时间:
2017-12-09 00:45:23
阅读次数:
161
Linux 系统目录结构 登录系统后,在当前命令窗口下输入命令: 你会看到如下图所示: 树状目录结构: 以下是对这些目录的解释: /bin:bin是Binary的缩写, 这个目录存放着最经常使用的命令。 /boot:这里存放的是启动Linux时使用的一些核心文件,包括一些连接文件以及镜像文件。 /d ...
分类:
系统相关 时间:
2017-12-08 16:55:22
阅读次数:
298
一、基本概念 树状数组(Binary Indexed Tree(BIT),Fenwick Tree)是一个查询和修改复杂度都为log(n)的数据结构。主要用于快速查询任意两位之间的所有元素之和,是一种很实用的数据结构。它通过用节点i,记录数组下标在[ i –2^k + 1, i ]这段区间的所有数的 ...
分类:
编程语言 时间:
2017-12-08 16:09:09
阅读次数:
259
Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: The root is the maximum number in the array. Th ...
分类:
其他好文 时间:
2017-12-08 10:28:04
阅读次数:
128
引自https://www.cnblogs.com/JiangLe/p/4007091.html 前期准备: create table Employee ( ID int not null primary key, Name nvarchar(4), Credit_Card_ID varbinary ...
分类:
数据库 时间:
2017-12-07 19:14:43
阅读次数:
176
function _post($url,$post_data){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // post数据 curl_s ...
分类:
Web程序 时间:
2017-12-07 17:19:48
阅读次数:
188
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), retur ...
分类:
其他好文 时间:
2017-12-07 13:22:33
阅读次数:
142
Path Sum II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/path sum ii/description/ Description Given a binary tree and a sum, find all root to leaf ...
分类:
其他好文 时间:
2017-12-06 23:54:04
阅读次数:
308
Maximum Binary Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/maximum binary tree/description/ Description Given an integer array with no duplic ...
分类:
其他好文 时间:
2017-12-06 22:07:29
阅读次数:
140