原题链接在这里:https://leetcode.com/problems/arithmetic-slices/description/ 题目: A sequence of number is called arithmetic if it consists of at least three el ...
分类:
其他好文 时间:
2017-10-01 12:17:42
阅读次数:
218
在ORACLE数据库中有物理读(Physical Reads)、逻辑读(Logical Reads)、一致性读(Consistant Get)、当前模式读(DB Block Gets)等诸多概念,如果不理解或混淆这些概念的话,对你深入理解一些知识无疑是一个障碍,但是这些概念确实挺让让人犯晕的。下面我 ...
分类:
数据库 时间:
2017-09-19 00:30:55
阅读次数:
407
原题链接在这里:https://leetcode.com/problems/maximum-average-subarray-i/description/ 题目: Given an array consisting of n integers, find the contiguous subarra ...
分类:
其他好文 时间:
2017-09-18 14:48:15
阅读次数:
148
本篇讲诉数据库中事务的四大特性(ACID),并且将会详细地说明事务的隔离级别。 如果一个数据库声称支持事务的操作,那么该数据库必须要具备以下四个特性: ⑴ 原子性(Atomicity) 原子性是指事务包含的所有操作要么全部成功,要么全部失败回滚,所以事务的操作如果成功就必须要完全应用到数据库,如果操 ...
分类:
数据库 时间:
2017-09-17 23:34:50
阅读次数:
263
Square Coins Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12929 Accepted Submission(s): 8885 P ...
分类:
其他好文 时间:
2017-09-15 02:16:23
阅读次数:
214
https://www.luogu.org/problem/show?pid=3576 题目描述 The ants are scavenging an abandoned ant hill in search of food. The ant hill has nn chambers and n-1 ...
分类:
其他好文 时间:
2017-09-15 01:51:53
阅读次数:
271
地址:http://www.spoj.com/problems/LCS2/ 题面: LCS2 - Longest Common Substring II no tags no tags A string is finite sequence of characters over a non-empt ...
分类:
其他好文 时间:
2017-09-14 10:34:44
阅读次数:
158
安装下载安装包:wget https://launchpad.net/mydumper/0.9/0.9.1/+download/mydumper-0.9.1.tar.gz安装依赖包:yum install glib2-devel mysql-devel zlib-devel pcre-devel o ...
分类:
其他好文 时间:
2017-09-09 11:55:00
阅读次数:
3506
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at ...
分类:
其他好文 时间:
2017-09-09 09:45:51
阅读次数:
203
事务 数据库事务是指由一个或者多个SQL语句组成的工作单元,这个工作单元中的SQL语句是相互依赖的,简单点说,即一个SQL语句如果出现了一个错误,那么这一整个工作单元都将会被撤销掉。 事务的四大特性: Atomic(原子性):事务中包含的操作被看作一个逻辑单元,这个逻辑单元中的操作要么全部成功,要么 ...
分类:
数据库 时间:
2017-09-07 21:29:39
阅读次数:
191