div#pages
{float:right;padding-right:8px;white-space: nowrap;}div#pages
ul{margin:0;padding:0;}div#pages a:link,div#pages a:visited,div#pages
a:active...
分类:
其他好文 时间:
2014-05-29 04:30:35
阅读次数:
272
##一.Join语法概述join 用于多表中字段之间的联系,语法如下: ... FROM table1
INNER|LEFT|RIGHT JOIN table2 ON conditiona table1:左表;table2:右表。JOIN
按照功能大致分为如下三类:INNER JOIN(...
分类:
数据库 时间:
2014-05-29 01:51:56
阅读次数:
383
一.Join语法概述join 用于多表中字段之间的联系,语法如下:... FROM table1
INNER|LEFT|RIGHT JOIN table2 ON conditionatable1:左表;table2:右表。JOIN
按照功能大致分为如下三类:INNER JOIN(内连接,或等值连接)...
分类:
其他好文 时间:
2014-05-29 00:31:20
阅读次数:
324
原题地址:https://oj.leetcode.com/problems/minimum-path-sum/题意:Given
amxngrid filled with non-negative numbers, find a path from top left to bottom
right w...
分类:
编程语言 时间:
2014-05-28 03:03:13
阅读次数:
320
二分法插入排序算法思想简单描写叙述:在插入第i个元素时,对前面的0~i-1元素进行折半,先跟他们中间的那个元素比,假设小,则对前半再进行折半,否则对后半进行折半,直到left>right,然后再把第i个元素前1位与目标位置之间的全部元素后移,再把第i个元素放在目标位置上。二分法没有排序,仅仅有查找。...
分类:
其他好文 时间:
2014-05-28 01:27:10
阅读次数:
182
Aggregate production is the basic raw material
for the building, only select those high standards and high qualified aggregate
to build a hundred year...
分类:
其他好文 时间:
2014-05-27 16:26:36
阅读次数:
257
Given a list, rotate the list to the right
bykplaces, wherekis non-negative.For
example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.思路:这道...
分类:
其他好文 时间:
2014-05-26 00:06:39
阅读次数:
250
View的getLeft, getRight, getTop,
getBottom方法得到的分别是相对于其父组件不同方向的距离网上找了张图说明:其中right和left的计算方法如下: right = left +
width; bottom = top + height;
分类:
其他好文 时间:
2014-05-25 18:51:01
阅读次数:
244
【题目】
Given a list, rotate the list to the right by k places, where k is non-negative.
For example:
Given 1->2->3->4->5->NULL and k = 2,
return 4->5->1->2->3->NULL.
【题意】
给定一个链表L,和非负数K,要求把链表的后k个节点移到链表前
【思路】
先将指针指向指向倒数第K个节点,然后...
分类:
其他好文 时间:
2014-05-25 18:20:06
阅读次数:
252
红黑树
红黑树是一种二进制查找树,但在每个节点上增加一个存储位表示节点的颜色,可以是red或black。通过对任何一条从根到叶子的路径上各个节点着色方式的限制,红黑树确保没有一条路径会比其他路径长出两倍,因而是接近平衡的。
树中灭个节点包含五个域,color,key,left,right 和p。如果某及诶但没有一个子节点或父节点,则该节点响应的指针域包含值NIL.我们将把这些NIL指向二叉查找...
分类:
其他好文 时间:
2014-05-25 10:27:17
阅读次数:
290