- 页是 SQL Server 中数据存储的基本单位,大小为 8KB。- 区是空间管理的基本单位,8个物理上连续的页的集合(64KB)。- 页的类型包括: 1. Data 2. Index 3. Text/Image 4. Global Allocation Map 5. Shared G...
分类:
数据库 时间:
2014-12-05 18:43:44
阅读次数:
356
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
深搜+递归
/**
* Definition for binary tree
* public class TreeNode {
* int val;
* Tree...
分类:
其他好文 时间:
2014-12-05 17:34:59
阅读次数:
169
UIDocumentInteractionController -------------------------- UIActivityViewController -------------------------- Shared Keychain Access ----------------------- Custom URL Scheme ---------------------...
分类:
移动开发 时间:
2014-12-05 15:40:47
阅读次数:
209
SubsetsGiven a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must...
分类:
其他好文 时间:
2014-12-05 12:23:05
阅读次数:
145
在CSS中,使用display属性来定义盒的类型。总体来说,盒类型分为两类:inline和block。如div默认是block,span默认是Inline。可以通过display修改默认的表现方式。
block and inline elements
<style ty...
分类:
Web程序 时间:
2014-12-05 10:58:33
阅读次数:
301
在CSS中,使用display属性来定义盒的类型。总体来说,盒类型分为两类:inline和block。如div默认是block,span默认是Inline。可以通过display修改默认的表现方式。 block and inline elements div元素1 ...
分类:
Web程序 时间:
2014-12-05 10:45:17
阅读次数:
252
MatrixTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 19174Accepted: 7207DescriptionGiven an N*N matrix A, whose elements are either 0 or 1. ...
分类:
编程语言 时间:
2014-12-05 01:56:06
阅读次数:
275
问题描述:
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
基本思想:
二分法构建二差排序树。
代码:
TreeNode *subsortedArrayToBST(vector & num,int begin, int end) /...
分类:
其他好文 时间:
2014-12-04 23:18:01
阅读次数:
189
Subsets IIGiven a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descend...
分类:
其他好文 时间:
2014-12-04 19:32:41
阅读次数:
163
SharedPreference是Android提供的一种轻量级的数据存储方式,主要用来存储一些简单的配置信息,其以键值对的方式存储,使得我们能很方便进行读取和存入 SharedPreference 文件保存在/data/data//shared_prefs 路径下 通过Activity自...
分类:
移动开发 时间:
2014-12-04 19:29:55
阅读次数:
247