function checkmemory%Copyright (c) 2014,Lv Qi%All
rights reserved.%%Redistribution and use in source and binary forms, with or
without modification, a...
分类:
其他好文 时间:
2014-05-10 20:07:52
阅读次数:
413
www.abc.com/tag-xxx.html增加伪静态规则RewriteCond
%{QUERY_STRING} ^(.*)$ RewriteRule ^tag-(.+)\.html$
/home/index/tag/?&tag=$1&%1
分类:
Web程序 时间:
2014-05-06 08:47:50
阅读次数:
279
Problem DescriptionGiven n integers.You have two
operations:U A B: replace the Ath number by B. (index counting from 0)Q A B:
output the length of the...
分类:
其他好文 时间:
2014-05-06 01:20:33
阅读次数:
332
Given a binary tree containing digits from 0-9
only, each root-to-leaf path could represent a number.An example is the
root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2014-05-05 23:55:36
阅读次数:
407
首先把工具都下载好:1. Qt for
Android:http://qt-project.org/downloads2. Android
NDKhttp://developer.android.com/tools/sdk/ndk/index.html64位可以下载第二个3.Apache Ant
1...
分类:
移动开发 时间:
2014-05-02 16:45:43
阅读次数:
573
QUE:线段树?称谓:从刘汝佳的书中得知,“这种数据结构在学术界没有统一的术语,但线段树是最常见的叫法。其他叫法包括区间树(interval
tree)、范围树(range
tree)等,但这些属于在特定的场合(如计算几何)中有着特殊的意义”。怎么叫看读者的心情,以下统一用线段树称呼。先来作一些了解...
分类:
其他好文 时间:
2014-05-02 16:21:56
阅读次数:
347
Given a binary tree, determine if it is a valid
binary search tree (BST).Assume a BST is defined as follows:The left subtree of
a node contains only n...
分类:
其他好文 时间:
2014-05-02 15:03:57
阅读次数:
386
在Desktop.js中扩展一个函数initShortCut : function() {
var btnHeight = 64; var btnWidth = 64; var btnPadding = 30; var col = { index
...
分类:
Web程序 时间:
2014-05-02 13:28:43
阅读次数:
490
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-05-02 09:54:11
阅读次数:
269
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 depth...
分类:
其他好文 时间:
2014-05-02 07:05:08
阅读次数:
311