反骨仔的全文目录索引 目录 C# 基础回顾 C# 知识回顾 - 序列化 C# 知识回顾 - 表达式树 Expression Trees C# 知识回顾 - 特性 Attribute 走进 LINQ 的世界 进阶 - LINQ 标准查询操作概述 Linq To Objects - 如何操作文件目录 L ...
分类:
其他好文 时间:
2016-11-10 14:44:20
阅读次数:
162
基本思想 堆排序是一种树形选择排序,是对直接选择排序的改进。 首先,我们来看看什么是堆(heap): (1)堆中某个节点的值总是不大于或不小于其父节点的值; (2)堆总是一棵完全二叉树(Complete Binary Tree)。 完全二叉树是由满二叉树(Full Binary Tree)而引出来的 ...
分类:
编程语言 时间:
2016-11-09 12:45:38
阅读次数:
344
190. Reverse Bits Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 0000001010010100000111 ...
分类:
其他好文 时间:
2016-11-09 11:38:35
阅读次数:
145
sorted matrix ( Young Matrix ) search for a given value in the matrix: 1) starting from upper-right corner, turn left or turn down, O(n+m) 2) if it's ...
分类:
其他好文 时间:
2016-11-09 11:15:30
阅读次数:
243
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note:A solution using O(n) space i ...
分类:
其他好文 时间:
2016-11-09 11:02:43
阅读次数:
146
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the dept ...
分类:
其他好文 时间:
2016-11-08 23:21:25
阅读次数:
293
在SQL Server 2012,有2个校验函数:check_sum 和 binary_check,在一些Data Table中,如果存在多个字符串字段,并且字符串非常长,在比较字符串是否相同时,使用校验函数,将其转换成 int 类型,能够提高数据比较的速度。但是不要忽略 CSDN 官方文档的Cau ...
分类:
其他好文 时间:
2016-11-08 14:13:58
阅读次数:
204
主操作: mysql> show master statusG; *************************** 1. row *************************** File: mysql-bin.000001 Position: 604 Binlog_Do_DB: Bin ...
分类:
数据库 时间:
2016-11-08 07:53:39
阅读次数:
230
Problem: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the giv ...
分类:
其他好文 时间:
2016-11-08 02:13:49
阅读次数:
272