SQL索引目录 借这次机会呢,将SQL索引的理解整理出来,供大家一起学习提高,这是我的学习笔记,有错误的地方,欢迎大家批评指正。下面是预计的目录:索引基础知识 聚集索引非聚集索引认识执行计划灵活设计数据库 页和区要想做好索引优化,知道索引的存储结构是至关重要的。谈到存储就需要了解SQL中的页和区.....
分类:
数据库 时间:
2015-08-15 18:05:50
阅读次数:
191
【130-Surrounded Regions(环绕区域)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X'...
分类:
编程语言 时间:
2015-08-15 06:45:16
阅读次数:
117
【129-Sum Root to Leaf Numbers(所有根到叶子结点组组成的数字相加)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.
An example...
分类:
编程语言 时间:
2015-08-15 06:44:54
阅读次数:
114
【134-Gas Station(加油站问题】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 There are N gas stations along a circular route, where the amount of gas at station i is gas[i].
You have a car with an unlimited gas tan...
分类:
编程语言 时间:
2015-08-15 06:44:26
阅读次数:
147
【120-Triangle(三角形)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, giv...
分类:
编程语言 时间:
2015-08-14 07:38:58
阅读次数:
283
【125-Valid Palindrome(回文字验证)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A ma...
分类:
编程语言 时间:
2015-08-14 07:38:55
阅读次数:
171
【121-Best Time to Buy and Sell Stock(最佳买卖股票的时间)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitt...
分类:
编程语言 时间:
2015-08-14 07:37:48
阅读次数:
196
【118-Pascal’s Triangle(帕斯卡三角形)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given numRows, generate the first numRows of Pascal’s triangle.
For example, given numRows = 5,
Return[
[1],
[1,1],...
分类:
编程语言 时间:
2015-08-13 07:48:37
阅读次数:
220
【119-Pascal’s Triangle II(帕斯卡三角形II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given an index k, return the kth row of the Pascal’s triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Co...
分类:
编程语言 时间:
2015-08-13 07:48:37
阅读次数:
176
【117-Populating Next Right Pointers in Each Node(二叉树链接右指针II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Follow up for problem “Populating Next Right Pointers in Each Node”.
What if the given tree could b...
分类:
编程语言 时间:
2015-08-13 07:47:20
阅读次数:
156